blob: 2bec3233af942faa1102fd6068c532656da93501 [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body link="#0000FF" vlink="#800080">
<b><i>Identifier: </i></b>org.eclipse.ant.core.antObjects<p><b><i>Description: </i></b>Allows
plug-ins to define arbitrary classes for use by the Ant infrastructure.&nbsp;
For example, in the case of a Javac compiler adapter, the compiler adapter
factory can be supplied, via a property setting, with the name of an adapter
class to use.&nbsp; Unfortunately, it is unlikely that the Ant Core plug-in
would have this class on its classpath (or that of any of its
prerequisites).&nbsp; To address this, clients should define an extension which
plugs into this extension-point and maps a name onto a class.&nbsp; The Ant
plug-in can then request that the declaring plug-in load the specified class.
<p><b><i>Configuration Markup:&nbsp; </i></b>
<p><tt>&nbsp;&nbsp; &lt;!ELEMENT antObject EMPTY&gt;</tt>
<br><tt>&nbsp;&nbsp; &lt;!ATTLIST antObject</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br><tt>&nbsp;&nbsp; ></tt>
<b>name -</b> name of the class to be defined</li>
<b>class</b> - the fully qualified name of a Java class</li>
<p><i><b>Examples: </b> </i>The following is an example of an object
<p><tt>&nbsp;&nbsp; &lt;extension point=&quot;org.eclipse.ant.core.antObject&quot;&gt;</tt><br>
<tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;antObject name=&quot;com.example.Foo&quot;
<tt>&nbsp;&nbsp; &lt;/extension&gt;</tt>
<p><b><i>API Information</i>:</b><i> </i>The objects declared via this
extension-point are accessible though the following API:<p><tt>&nbsp;&nbsp;
<p><b><i>Supplied Implementation:</i></b> The platform itself does not supply
any object extension.
<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a>