[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Using 3PartyLibs in OSGi

Christian,

Note that in general you do NOT have to write a bundle activator to use a 3rd party library, you merely need to add metadata describing what the library is and what its imports and exports are. Furthermore a lot of this metadata can be generated automatically either by Eclipse (as described by Toni) or using Peter Kriens' bnd tool:

http://www.aqute.biz/Code/Bnd

Regards
Neil

On 17 May 2007, at 10:26, Toni Menzel wrote:

Today it's pretty likely you have to migrate your 3rd party jar into an osgi bundle.
Because of that its quite common and there are plenty different ways:
Actually you "just" need to inject an osgi friendly MANIFEST.MF so you "export" the packages you want to export from the jars.
Because this is the equinox mailinglist i would refer to the build- in capability of eclipse:
--> new project --> plugin development --> plug-in for existing jar archives
(remember, bundles are osgi bundles)


hope this helps?

regards,
Toni

Christian Voigtmann schrieb:
Hi,

is it possible to use 3PartyLibs which are not originally designed for OSGi, that means without bundle activator. For example the Protege, Jena, Axis or own APIs which are working fine under J2SE !??

Is there a way to use them with the OSGi Framework !!

Best regards

Christian

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


--
Toni Menzel
http://www.tonit.com
mailto:tonimenzel@xxxxxx

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev