[fedora-java] creating OSGi jars for Eclipse dependencies
Ben Konrath
bkonrath at redhat.com
Thu Mar 29 08:11:43 UTC 2007
Hi Fernando / Deepack,
I'd like to add OSGi manifests to the jars of Eclipse dependencies so
that Eclipse can link to the system installed jars rather than keeping a
copy of these dependencies in /usr/share/eclipse. The general strategy
for doing this would be as follows:
* add the OSGi bundle or Manifest from Orbit as an additional source to
the rpm
* build the jar like normal
* extract (if required) and inject the OSGi Manifest to the original jar
For Eclipse 3.2.2 / F7, there are two packages that need to be moved out
of the eclipse rpm: jsch and icu4j. The jsch build can use the method
described above (see attached patch) but I think we should use a
different approach for icu4j since the OSGi jar can be compiled
directly. In this case I'd like to use the OSGi jar directly and add
links for the regular jars. I would need to check the OSGi build and the
regular build end up with the same class files but I'm pretty sure they
do.
Anyway, let me know what you think so that I can commit the jsch patch
and move on to icu4j.
Thanks, Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jsch-osgi.patch
Type: text/x-patch
Size: 1560 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-java-list/attachments/20070329/97864dc7/attachment.bin>
More information about the fedora-devel-java-list
mailing list