[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] using third party jars in equinox

I simply create a plugin which contains one or more jars and export all packages off all jars included.

The plugin which needs the package has to import it.

In my eyes this is a very clean solution.

Note that eclipse supports this by using "New Project => Plug-in Development => Plug-in project from existing jar"

Abhishek Verma wrote:
What is the best approach to use third party jars in more then one plugins?

Current aapproach:
Create a plug-in with the third party jars and make other plug-ins dependent on this plug-in. But I could not find a way to export the 'jars' from the plug-in. Currently it works by exporting all the packages in Manifest and specifying the jar as exportable in Java Build Properties.
Is there a better way to export 'Jars'?

equinox-dev mailing list