Extra Ant Classpath Entries

org.eclipse.ant.core.extraClasspathEntries

Allows plug-ins to define arbitrary JARs for use by the Ant infrastructure. These JARs are put into the Ant classpath at runtime. Besides the JAR, the plug-in classloader of the plug-in providing the JAR is also added to the classpath.

<!ELEMENT extension (extraClasspathEntry*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT extraClasspathEntry EMPTY>

<!ATTLIST extraClasspathEntry

library        CDATA #REQUIRED

headless       (true | false)

eclipseRuntime (true | false) >


The following is an example of an extra classpath entries extension point:

 

<extension point=

"org.eclipse.ant.core.extraClasspathEntries"

>

<extraClasspathEntry library=

"myExtraLibrary.jar"

/>

</extension>

The platform itself supplies an Ant support jar (antsupportlib.jar).