Robert F. Beeger: November 2008 Archives
It’s actually possible to get Felix fully running with Osmorc. You need to download the additional bundle org.osgi.core - named “OSGi core API’s” on Felix’ download page. After installing this bundle in the bundle folder of your Felix installation you will need to recreate the associated framework instance in Osmorc to make Osmorc aware of the changes.
Thanks to Richard S. Hall for pointing out that my statement about Felix not exporting the core OSGi packages was wrong.
This release brings the integration of one more framework type: Concierge OSGi (thanks to Alain Greppin) for the initial code),
Note: The Concierge and Felix framework types cannot be used as the base for projects which use manually edited manifest files if the modules of such a project import any of the core OSGi classes - such as BundleActivator.Neither of those two framework types exports those packages and so, dependencies won’t be created to the bundles containing those classes. The end result is then that your BundleActivator won’t be compileable. You can use them as framework instances for launching bundles in the generic “OSGi Bundles” run configuration, though.
The generic “OSGi Bundles” run configuration type got some enhancements. Start levels for the selected bundles can be set and it’s also possible to specify boot delegation and system packages for Felix and Knopflerfish framework instances.
The “Eclipse Equinox” run configurations now check whether there is an Equinox framework instance selected for the project and puts out helpful error messages if that is not the case.
For people letting Osmorc generate the manifest files via bnd there is a new configuration page where rules for the creation of bundles from libraries can be specified.
As always some bugs were also fixed.
Currently Osmorc’s ErrorHandler is deactivated. So you won’t be able to click the “Blame Osmorc” button. The ErrorHandler causes some strange errors on Mac OSX which we are currently investigating. Please post your bug reports manually on Osmorc’s JIRA for the time being.
