Tabish F. Mufti wrote:
Hi,

In Developers guide chapter4 it mentions for UNO Component installation:

4.9.1  UNO Package Installation Using unopkg:
For a user package, run unopkg:
[<OfficePath>/program] $ unopkg add myPackage.uno.pkg

What I fail to understand is what is gonna be inside myPackage.uno.pkg and
I've read substantial part of chapter 4 and there is no indication about it.

I have a java file and idl file, what other files do I need like manifest,
makefile etc etc. Is there a step by step how to on that. Initially I'm just
trying to create a HelloWorld UNO component.

you can use for example our new NetBeans Integration and try there the Component wizard (see http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration). It should be quite easy and especially the wizard for components will be improved with the next version. Or you can use the Eclipse Plugin (see http://wiki.services.openoffice.org/wiki/Extensions_development_java#Ressources)

The SDK provides some examples for Java UNO components and builds .uno.pkg extensions but of course you have to be familiar with gnu make. The DevGuide will be updated soon to integrate the latest stuff (.oxt, licenses, ...) in the guide. And i will try to find some time to create a step by step tutorial in the wiki.

In general the content of the .uno.pkg (since 2.0.4 .oxt) should be a manifest file, the compiled jar file for your UNO component and an rdb file containing the compiled type definition of your own IDL types (necessary for other language bindings, for example usage of your service from Basic.

Juergen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to