external jar not been added in ant-runtime using plugin [message #151354] |
Wed, 10 May 2006 05:18 |
Eclipse User |
|
|
|
Originally posted by: deepae.hotmaial.com
I am creating a plugin and successfully started that plugin during eclipse
startup. But I want junit.jar to be added in the ant-runtime classpath.
I have changed plugin.xml as follows
<extension point="org.eclipse.ant.core.extraClasspathEntries">
<extraClasspathEntry
eclipseRuntime="false"
headless="true"
library="junit\junit.jar"/>
</extension>
I added junit jar inside my plugin jar.It adds junit.jar in the contributed
entries of ant-runtime path only when i start my plugin using "Run As"
eclipse
application on rightclicking the project. but if i export it to a jar and
put
the plugin to a new eclipse, the plugin successfuly starts but junit.jar
is not been added.PLEASE LET ME KNOW why it is not adding the jar .
What exactly the eclipseruntime,headless and path of library should be.
i have my junit jar in the plugin-jar which i create but it doesnot add
the jar in ant-runtime.a forward / back / matters?
|
|
|
Powered by
FUDForum. Page generated in 0.21956 seconds