| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <STYLE type="text/css"> |
| div.dtd-fragment { |
| width: 100%; |
| border: none; |
| background-color: #eee; |
| } |
| </STYLE> |
| </HEAD> |
| <HTML> |
| <BODY> |
| <H1><CENTER>Extra Ant Classpath Entries</CENTER></H1> |
| <b><i>Identifier: </i></b>org.eclipse.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><font color="#800000"> <!ELEMENT <a name="e.extension">extension</a> (<a href="#e.extraClasspathEntry">extraClasspathEntry</a>*)></font></samp> |
| <br><br><samp><font color="#800000"> <!ATTLIST extension</samp> |
| <br><samp> point CDATA #REQUIRED</samp> |
| <br><samp> id CDATA #IMPLIED</samp> |
| <br><samp> name CDATA #IMPLIED</samp> |
| <br><samp> ></font></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><font color="#800000"> <!ELEMENT <a name="e.extraClasspathEntry">extraClasspathEntry</a> EMPTY></font></samp> |
| <br><br><samp><font color="#800000"> <!ATTLIST extraClasspathEntry</samp> |
| <br><samp> library CDATA #REQUIRED</samp> |
| <br><samp> headless CDATA #IMPLIED</samp> |
| <br><samp> ></font></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 extra classpath entries extension point: |
| |
| <p> |
| <pre> |
| <font color="#000080"><extension point=<font color="#008000">"org.eclipse.ant.core.extraClasspathEntries"</font>></font> |
| <font color="#000080"><extraClasspathEntry library=<font color="#008000">"myExtraLibrary.jar"</font>/></font> |
| <font color="#000080"></extension></font> |
| </pre> |
| </p><p> |
| <b><i>Supplied Implementation: </i></b>The platform itself supplies an Ant support jar (antsupportlib.jar).<p> |
| <font size="-1" color="#336699"> |
| <a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2000, 2003. All Rights Reserved." BORDER=0 height=14 width=324></a><p> |
| </font> |
| </BODY> |
| </HTML> |