Tag Archives: OSGi

Speak like a native – How to use native code (Windows DLL) in OSGi

As you know the OSGi Framework enforces strong modularity. This also applies to native library code, e.g. a Windows DLL. To make your DLL available in the context of OSGi you have to use the Bundle-NativeCode section in MANIFEST.MF. For … Continue reading

Posted in Eclipse, OSGi | Tagged | 5 Comments

Friends of yours? Using x-friends in Equinox to loosen the API restrictions for some plugins

In Defining provisional API in Equinox I discussed how to mark your API as internal / provisional. But what if your plugin has a close friend which should be allowed to use this API without restrictions? Even in the plugin … Continue reading

Posted in Eclipse, OSGi | Tagged , | 1 Comment

I didn’t mean it like this – Defining provisional API in Equinox

OSGi is very strong in defining API contracts. In each bundle you can decide this which packages are exported and which can be used by other plugins. But what if you want to make your classes usable to other but … Continue reading

Posted in Eclipse, OSGi | Tagged , | 5 Comments

Going plugin (from an OSGi bundle)

The Eclipse plugin creation wizard allows to create OSGi bundles or Eclipse plugins. The most notable difference is that the PDE plugin editor does not show the extension tab. I recently wanted to use an plugin extension in a project … Continue reading

Posted in Eclipse, OSGi | Tagged , | 16 Comments

Eclipse Papercut #5 – Getting external libraries as bundles

Explains why Eclipse Plugins are improving the definition of the external API and how to get prepared Eclipse plugins via the Springsource bundle repository. Continue reading

Posted in Eclipse, Papercut | Tagged , , , , | 9 Comments