Extra Ant Classpath Entries

Identifier: org.eclipse.ant.core.extraClasspathEntries

Description: 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.

Configuration Markup:

   <!ELEMENT extension (extraClasspathEntry*)>

   <!ATTLIST extension
     point CDATA #REQUIRED
     id    CDATA #IMPLIED
     name  CDATA #IMPLIED
   >

   <!ELEMENT extraClasspathEntry EMPTY>

   <!ATTLIST extraClasspathEntry
     library  CDATA #REQUIRED
     headless CDATA #IMPLIED
   >

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

 <extension point="org.eclipse.ant.core.extraClasspathEntries">
  <extraClasspathEntry library="myExtraLibrary.jar"/>
 </extension>

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

Copyright IBM Corp. 2000, 2003.  All Rights Reserved.