How Add jar file to eclipse plugin? -


i want write plugin in eclipse sends active window title port when active window changes. purpose have add jna , jna-platform-win32 libraries plugin. libraries add in compile time when want use them in run time libraries not worked. how can solve problem in eclipse?

you must add jars bundle-classpath in plugin manifest.mf , include them in 'build.properties' file included in plugin build.

to add bundle-classpath open plugin.xml editor , go 'runtime' tab. add jars 'classpath' section (you should have '.' entry normal plugin classes).

the 'build' tab of plugin.xml editor updates build.properties file make sure jars checked in binary build section.


Comments