Community
Participate
Working Groups
It would be good to make osgi run from jars.
indeed I should have specified out of one jar.
Are you talking about having the osgi plugins runnable when in a packaged jar format? That would be great! But from my tests it looks like other plugins cannot run unpacked BTW. Getting the whole workbench features and plugins packed as jars, with the three OSGI plugins unpacked is not enough to get liftoff...
This bug is for packaging OSGi itself as one Jar. There is a parallel effort to ship all Eclipse plugins as individual jars (one per plugin). This works today but is subtle. Stay tuned for this and more fun...
You said it works but is subtle? Could you say anything more on it?Is it relatedd to bug 78535 ? I also noted that jarred plugins cannot be imported using the PDE BTW.
Startup.jar (in cvs: org.eclipse.platform) will fail unless you specify various properties (osgi.framework, the classpath of the fwk). If you want to use osgi standalone (without startup.jar) you should be fine. In fact you may even consider using the DefaultAdaptor
I released a set of changes to OSGi and to startup.jar to enable that. However due to the bug #85013, we can't ship eclipse as a jar yet.
Yeeha! :-) But you could still ship it jars, if you do not pacakge the PDE with it. Correct? Which milestones does it go into? M5?
Eclipse cannot ship as jars until the whole story holds together. Users are free of course to take plugins and jar them up and ship them but there are, as yet, not guarantees that this works. The test suites have not been run, we don't use it that way etc etc. Summary: Your enthusiasm for this is great but we are not done yet. Pascal, can this report be closed? Bug 85013 is a general problem not specific to osgi no?
Closing since it is now possible. Until osgi ships as jar, people willing to do that must: - extract all the jars from org.eclipse.osgi into one folder - jar the resulting folder such that the classes are at the root of the jar: org.eclipse.osgi.jar org/ eclipse/ .... META-INF/ MANIFEST.MF