|Bundle-Classpath jars not put into dev.properties on launch [message #631177]
||Wed, 06 October 2010 09:22
| Chris Dail
Registered: October 2010
I have an eclipse plugin project that requires a lot of external jar file dependencies. The plugin places these on the Bundle-Classpath and includes them in the plugin when built through build.properties. If you export the plugin and run it through eclipse, everything works fine. When running through the launch configuration (ie: debugging), none of the extra jars are added to the classpath. Only class files from the source of the plugin are put on the classpath.|
To show this easier, I put together a small dummy application.
Contents of Manifest.MF:
Contents of build.properties:
source.plugin-out.jar = src/
output.. = bin/
bin.includes = META-INF/,\
As you can see, plugin-out.jar contains the class files from my compiled plugin. The dummy.jar is a sample jar file that should be included with this plugin when running it. I would expect to see both of these in dev.properties when the PDE launches eclipse with this plugin. What actually happens though is this dev.properties is the one that is generated:
#Wed Oct 06 10:11:09 ADT 2010
Why is lib/dummy.jar not getting added to dev.properties? I did some reading around and my understanding is that it should be there? Can anyone tell me how I can get dummy.jar to be added to the runtime when running through the launch configuration?
Powered by FUDForum
. Page generated in 0.02166 seconds