| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| </HEAD> |
| <HTML> |
| <BODY> |
| <H1><CENTER>Extra Ant Classpath Entries</CENTER></H1> |
| <b><i>Identifier: </i></b>org.eclispe.ant.core.extraClasspathEntries<p> |
| <b><i>Description: </i></b>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.<p><b><i>Configuration Markup:</i></b><p> |
| <p><samp> <!ELEMENT extension (extraClasspathEntry*)></samp> |
| <br><br><samp> <!ATTLIST extension</samp> |
| <br><samp> point CDATA #REQUIRED</samp> |
| <br><samp> id CDATA #IMPLIED</samp> |
| <br><samp> name CDATA #IMPLIED</samp> |
| <br><samp> ></samp> |
| <ul> |
| <li><b>point</b> - a fully qualified identifier of the target extension point</li><li><b>id</b> - an optional identifier of the extension instance</li><li><b>name</b> - an optional name of the extension instance</li></ul> |
| <p><samp> <!ELEMENT extraClasspathEntry EMPTY></samp> |
| <br><br><samp> <!ATTLIST extraClasspathEntry</samp> |
| <br><samp> library CDATA #REQUIRED</samp> |
| <br><samp> headless CDATA #IMPLIED</samp> |
| <br><samp> ></samp> |
| <ul> |
| <li><b>library</b> - a path relative to the plug-in install location for the library.</li><li><b>headless</b> - indicates whether this extra classpath entry is suitable for use in a "headless" Ant environment. If running headless and the attribute is "false", |
| this entry will not be added to the Ant classpath. As well, the plugin class loader will not be added as a parent classloader to the Ant classloader. |
| The implied value is true, when not specified.</li></ul> |
| <b><i>Examples: </i></b>The following is an example of an object declaration: |
| |
| <p> |
| <pre> |
| <extension point="org.eclipse.ant.core.extraClasspathEntries"> |
| <extraClasspathEntry library="myExtraLibrary.jar"/> |
| </extension> |
| </pre> |
| </p><p> |
| <b><i>Supplied Implementation: </i></b>The platform itself supplies an Ant support jar.<p> |
| <a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2000, 2003. All Rights Reserved." BORDER=0 height=12 width=195></a><p> |
| </BODY> |
| </HTML> |