Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » external jar not been added in ant-runtime using plugin
external jar not been added in ant-runtime using plugin [message #151354] Wed, 10 May 2006 05:18
Eclipse UserFriend
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?
Previous Topic:how to see global static variables when debugging
Next Topic:Want Own Perspective to be activeted by eclipse itself
Goto Forum:
  


Current Time: Fri Nov 08 22:52:02 GMT 2024

Powered by FUDForum. Page generated in 0.21956 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top