Search code examples
javaosgibundle

How to create OSGi bundle from jar library?


How to create OSGi bundle from jar library?


Solution

  • In case you are using eclipse: There is a wizard for that.

    It allows you to select a number of jar libraries and creates a plug-in project (i.e. OSGi bundle) including these jars.

    You can find it here:

    File -> New -> Other ... -> Plug-in from Existing jar Archives.
    

    alt text