donaldp 01/01/14 17:22:55
Modified: docs index.html Log: Updated docs Submitted By: "Stephane Bailliez" <[EMAIL PROTECTED]> Revision Changes Path 1.188 +36 -3 jakarta-ant/docs/index.html Index: index.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/index.html,v retrieving revision 1.187 retrieving revision 1.188 diff -u -r1.187 -r1.188 --- index.html 2001/01/12 15:28:32 1.187 +++ index.html 2001/01/15 01:22:55 1.188 @@ -13,6 +13,7 @@ </center> <!-- Names are in alphabetical order, on last name --> <ul> + <li>Stephane Bailliez (<a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>)</li> <li>Jacques Bergeron (<a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>)</li> <li>Stefan Bodewig (<a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>)</li> <li>Patrick Chanezon (<a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>)</li> @@ -33,7 +34,7 @@ <center> <p>Version: @VERSION@<br> -$Id: index.html,v 1.187 2001/01/12 15:28:32 bodewig Exp $</p> +$Id: index.html,v 1.188 2001/01/15 01:22:55 donaldp Exp $</p> </center> <hr> @@ -654,6 +655,16 @@ <pathelement location="testclasses"/> </path> </pre> + The shortcuts previously mentioned for <code><classpath></code> are also valid for <code><path></code>.For example: +<pre> + <path id="base.path"> + <pathelement path="${classpath}"/> + </path> +</pre> +can be written as: +<pre> + <path id="base.path" path="${classpath}"/> +</pre> <h3><a name="arg">Command-line Arguments</a></h3> <p>Several tasks take arguments that will be passed to another @@ -1580,6 +1591,12 @@ use when looking up <code>classname</code>.</td> <td align="center" valign="top">No</td> </tr> + <tr> + <td valign="top">classpathref</td> + <td valign="top">the classpath to use, given as <a href="#references">reference</a> to a path defined elsewhere.</td> + <td align="center" valign="top">No</td> + </tr> + </table> <h3>Parameters specified as nested elements</h3> <h4>classpath</h4> @@ -1589,7 +1606,23 @@ <h3>Examples</h3> <pre> <available classname="org.whatever.Myclass" property="Myclass.present"/></pre> <p>sets the property <code><i>Myclass.present</i></code> to the value "true" -if the <i>org.whatever.Myclass</i> is found in Ant's classpath.</p> +if the class <i>org.whatever.Myclass</i> is found in Ant's classpath.</p> +<pre> +<property name="jaxp.jar" value="./lib/jaxp11/jaxp.jar"/> +<available file="${jaxp.jar}" property="jaxp.jar.present"/> +</pre> +<p>sets the property <code><i>jaxp.jar.present</i></code> to the value "true" +if the file <i>./lib/jaxp11/jaxp.jar</i> is found.</p> +<pre> +...in project ... +<property name="jaxp.jar" value="./lib/jaxp11/jaxp.jar"/> +<path id="jaxp" location="${jaxp.jar}"/> +...in target ... +<available classname="javax.xml.transform.Transformer" classpathref="jaxp" property="jaxp11.present"/> +</pre> +<p>sets the property <code><i>jaxp11.present</i></code> to the value "true" +if the class <i>javax.xml.transform.Transformer</i> is found in the classpath referenced by <code>jaxp</code> (in this case, it is <code>./lib/jaxp11/jaxp.jar</code>). +</p> <hr> <h2><a name="chmod">Chmod</a></h2> <h3>Description</h3> @@ -3296,7 +3329,7 @@ <td align="center" valign="top">No</td> </tr> <tr> - <td valign="top">includeJavaRuntim</td> + <td valign="top">includeJavaRuntime</td> <td valign="top">whether or not to include the default runtime libraries from the executing virtual machine. Default is no.</td> <td align="center" valign="top">No</td>
