Add 3rd party library to an eclipse plugin -
what right way include additional jar file in eclipse plugin? own plugin requires apache-commons-io. copied jar plugins directory , added via "dependencies" tab of plugin manifest. works me, other users of plugins have download commons-io manually.
what correct way package commons-io in plugin?
i use following strategy:
- if can find jar in question packaged bundle - i.e.
manifest.mf
contains correct entries - use this. have @ orbit project set of pre-packaged bundles of sorts.org.apache.commons.io
here... - if not possible, include jar in bundle, , updates
manifest.mf
- e.g.bundle-classpath: library.jar,.
Comments
Post a Comment