[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.pde] eclipse plugins - external jars & environment variables - build problem
|
Hi,
I am working on adding new views to my eclipse perspective.
I would like to use external jars, using environment variable to find them.
Now, that works runtime using the external keywork in the MANIFEST file; for example:
Bundle-Classpath: external:$EXTLIBS$/jdom-1.1/build/jdom.jar,
.
but it doesn't work at build time, I tried to change the build page/build.properties file in the plugin.xml editor and that doesn't work.
When I hit the "export deployable plugin" button, it crashes saying that the jdom classes import couldn't be resolved.
So, the temporary workaround I have got is to export the plugin with Eclipse / File / Export and then manually change things such as the manifest file that end up empty.
In short, how to use jars at "plug-in build time" that are not part of any eclipse project and can only be found using an environment variable?
Thanks in advance.
Mikael