Aggelos Mpimpoudis wrote:
Stuart McCulloch wrote:
It sounds like the Knopflerfish OSGi plugin doesn't like embedded jars,
and is automatically updating the manifest whenever anything changes
in the project (which may be why using bnd didn't work).
This is not really the best place to resolve this, as this is the
general
OSGi mailing list - [EMAIL PROTECTED] would be more appropriate.
That said, you might want to try creating a new plugin (PDE) project
using Eclipse 3.2 (without KF OSGi plugin!) or perhaps a new Java
project (again without the KF plugin) using the instructions at:
http://www.aqute.biz/Snippets/SetupEclipse
I've successfully built and deployed bundles containing jars, so it
is definitely possible, but I've only done this using Eclipse / Bnd.
I am glad for 2 things: firstly I did managed to explain my problem
briefly and secondly you provided enough information to orientate me.
So to Sum up
* I have sent an email at knopflerfish team, let's see what they are
going to answer.
* In general 3rd party libraries can be used inside a bundle in
three ways:
o If only they are stand alone bundles themselves
o If only I bundlize them using the maven bundle & the scripts
<http://wiki.ops4j.org/confluence/display/ops4j/Pax+Construct>
you provided
o If only I enter the Bundle-Classpath directive at my
manifest file and not using the knopflerfish plugin
(considering the recent conclusions)
Am I missing something?
Best Regards,
Aggelos Mpimpoudis
Something to mention.
Most people that have the same problem bundlize their third party
libraries as independent bundles!!!
http://www.eclipsezone.com/eclipse/forums/t54726.html
So I conclude, that bundlizing an existing lib is the most common way.
Xmm.....well just mentioning. it.
Thx,
Aggelos Mpimpoudis
--
Dept. of Informatics & Telecommunications, University of Athens
Athens, Greece
GSM +306942075153 / Msn: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev