Difference between revisions of "Talk:JavaEclipseTuto"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 17: Line 17:
 
So I took some step's back and tried your HelloWorld example by the letter.
 
So I took some step's back and tried your HelloWorld example by the letter.
  
I still have no succesfull creation of a Java component, but I do have some observations and questions.
+
I still have no successfull creation of a Java component, but I do have some observations and questions.
  
 
When I follow the example, an implementation class file pops up in gedit (source/org/openoffice/helloworld/HelloworldImpl)
 
When I follow the example, an implementation class file pops up in gedit (source/org/openoffice/helloworld/HelloworldImpl)
Line 24: Line 24:
 
   RegistrationClassName: org.openoffice.helloworld.comp.HelloworldImpl
 
   RegistrationClassName: org.openoffice.helloworld.comp.HelloworldImpl
  
There is also a class org.openoffice.helloworld.Helloworld. I assume this is generated by a tool like JavaMaker.
+
There is also a class org.openoffice.helloworld.Helloworld. (I assume this is generated by a tool like JavaMaker?).
 
This is also the class which is refered to in 'types.rdb' and 'Helloworld.rdb'
 
This is also the class which is refered to in 'types.rdb' and 'Helloworld.rdb'
 +
I have the impression, this should be 'HelloworldImpl'.
  
When I try to export the procject, here is an errormessage about 'services.rdb'
+
When I try to export the project, there is an error message about 'services.rdb':
 +
 
 +
[[Image:Package-export-error.png]]
 +
 
 +
So my quesstions are:
 +
- Should I implement HelloworldImpl or Helloworld
 +
- If not the latter, what's the purpose of Helloworld
 +
- What must be done to get rid of the services.rdb
 +
 
 +
 
 +
I'm using SDK 2.2 and OpenOffice 2.2.0-1ubuntu3
 +
 
 +
Regards,

Revision as of 08:54, 9 July 2007

Is there some reason that this is called JavaEclipseTuto instead of JavaEclipesTutorial?? --Mikeleib 21:52, 17 March 2006 (CET) To make it shorter, but if you mind it would be better... I don't see any problem

--cedricbosdo 09:51, 19 March 2006 (CET) In "Packaging and Testing the Component" there is the text

"# The next page of the wizard asks for the UNO project to export (already selected), the directory where to export the package and the OpenOffice.org minimum compatibility version for the package. Depending of the selected OpenOffice.org version, the package will get a different name and a different structure."

What should be the "Destignation Directory" to be filled in there?

--Steckelfisch 9 July 2007

Hi,

I'm trying to get a Java component working in OpenOffice, but for some reason I'm not very lucky at it. So I took some step's back and tried your HelloWorld example by the letter.

I still have no successfull creation of a Java component, but I do have some observations and questions.

When I follow the example, an implementation class file pops up in gedit (source/org/openoffice/helloworld/HelloworldImpl) The generated MANIFEST.MF searches that file like:

 ManifestVersion: 1.0
 RegistrationClassName: org.openoffice.helloworld.comp.HelloworldImpl

There is also a class org.openoffice.helloworld.Helloworld. (I assume this is generated by a tool like JavaMaker?). This is also the class which is refered to in 'types.rdb' and 'Helloworld.rdb' I have the impression, this should be 'HelloworldImpl'.

When I try to export the project, there is an error message about 'services.rdb':

Package-export-error.png

So my quesstions are: - Should I implement HelloworldImpl or Helloworld - If not the latter, what's the purpose of Helloworld - What must be done to get rid of the services.rdb


I'm using SDK 2.2 and OpenOffice 2.2.0-1ubuntu3

Regards,

Personal tools