Tuesday, June 22, 2010

Adding a external jar to an RCP application

Open plug-in.xml
Go to Runtime tab.
Click on 'Add...' button in the Classpath section
Add your external jar

As a result my MANIFEST.MF now has the entry
Bundle-ClassPath: lib/myjar.jar,

while my .classpath has the entry
classpathentry kind="lib" path="lib/myjar.jar"

No comments:

Post a Comment