Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] How can I embed a JAR in a plugin?

Since many OSS projects do not package their code as osgi bundles, I've
had to create my own bundles from time to time.

This time, I thought that rather than including it as a project in my
Eclipse environment, I'll put the bundle in my plugins directory.


However, I have not yet been able to figure out how to expose the
classpath of the embedded jar file to my projects in the workspace.

If I directly compile the code (thus all the class files are in "." in
the bundle rather than in a jar in the bundle), I can include the bundle
this way without any problems.


I thought that I only needed to include the jar in the Bundle-ClassPath
entry in the manifest, but Equinox does not recognize this.


What does Equinox require that I do to expose this embedded jar to my
projects in Eclipse via my plugin bundle?



Thank you!
David





Back to the top