Tabish F. Mufti wrote:
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
beimproved with the >next version.Or you can use the Eclipse Plugin (see >
http://wiki.services.openoffice.org/wiki/Extensions_development_java#Ressources
)
I've seen all these plugins already and in general I'm not very
enthusiastic
about these things, both the plugins were giving some kind of problem on
linux. I wanna go the hardcore path.
what kind of problem do you have, it works quite well on Linux and Solaris.
It would be helpful if you can tell us your problems.
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.
Could you please point to these examples as I couldn't find any. I'm
willing
to learn gnu make.
For example the
- <sdk>/examples/java/MinimalComponent
- <sdk>/examples/DevelopersGuide/Components/JavaComponent
browse through the SDK examples there more.
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
What tool is used to create an rdb file or how do you create it ?
the UNO IDl compiler idlc which comes with the SDK. If you have more
than one IDL file use regmerge to merge the generated urd files into one
rdb file.
idlc ... my.idl my2.idl -> generates my.urd my2.urd
regmerge my.rdb /UCR my.urd my2.urd
Juergen
On 10/27/06, Juergen Schmidt <[EMAIL PROTECTED]> wrote:
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.pkgand
> 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]