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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -