Robert Vojta wrote:
On Tue, Jun 24, 2008 at 8:43 AM, Juergen Schmidt
<[EMAIL PROTECTED]> wrote:
Hi Juergen,
Let me think about it how we can address this in the NetBeans plugin. It's
missing feature, please submit a RFE
http://api.openoffice.org/issues/show_bug.cgi?id=91014
Maybe you can try to make your ext 2 project depending on the ext 1 project.
Maybe some customization of the ant build scripts to prevent the packaging
of ext1.jar. I haven't tried it and i am only guessing but try it out and we
will hopefully find a smoother solution soon
How the ext2.oxt extension should look like inside? IOW what files
should be included? When I add ext1 project dependency to ext2, it
doesn't work, because only ext2.jar is included, not IDL_types.jar. If
I want to compile ext2, I have add <ext1>/dist/IDL_types.jar to ext2
libraries. Extension is compiled smoothly, but can't be installed.
When I unzip ext2.oxt, there's only ext2.jar (which is protocol
handler only in this case), but there is no IDL_types.jar from ext1
project. Should this file be included too? I'm going to test this now
...
yes, you are right. I forgot that we load the ext in separate
classloader and that they don't know each other. Here is definitely the
dependency mechanism missing ...
I suggest that you build both UNO components in the same NB project. Use
the new file wizard to generate a second skeleton for the second object.
Juergen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]