|
|
@@ -525,7 +525,7 @@ execution depending on system parameters.</p> |
|
|
|
<td align="center" valign="top"><b>Required</b></td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td valign="top">name</td> |
|
|
|
<td valign="top">property</td> |
|
|
|
<td valign="top">the name of the property to set.</td> |
|
|
|
<td valign="top" align="center">Yes</td> |
|
|
|
</tr> |
|
|
@@ -544,7 +544,7 @@ execution depending on system parameters.</p> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
<h3>Examples</h3> |
|
|
|
<pre> <available class="org.whatever.Myclass" property="Myclass.present" /></pre> |
|
|
|
<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> |
|
|
|
<hr> |
|
|
@@ -1232,9 +1232,9 @@ the one that is currently running Ant.</p> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
<h3>Examples</h3> |
|
|
|
<pre> <java class="test.Main" /></pre> |
|
|
|
<pre> <java class="test.Main" args="-h" /></pre> |
|
|
|
<pre> <java class="test.Main" |
|
|
|
<pre> <java classname="test.Main" /></pre> |
|
|
|
<pre> <java classname="test.Main" args="-h" /></pre> |
|
|
|
<pre> <java classname="test.Main" |
|
|
|
args="-h" |
|
|
|
fork="yes" |
|
|
|
jvmargs="-Xrunhprof:cpu=samples,file=log.txt,depth=3" |
|
|
@@ -1831,7 +1831,7 @@ This also holds for properties loaded from a property file.</p> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
<h3>Examples</h3> |
|
|
|
<pre> <rmic class="com.xyz.FooBar" base="${build}/classes" /></pre> |
|
|
|
<pre> <rmic classname="com.xyz.FooBar" base="${build}/classes" /></pre> |
|
|
|
<p>runs the rmic compiler for the class <code>com.xyz.FooBar</code>. The |
|
|
|
compiled files will be stored in the directory <code>${build}/classes</code>.</p> |
|
|
|
<hr> |
|
|
@@ -1933,13 +1933,13 @@ href="#writingowntask">Writing your own task</a>".</p> |
|
|
|
<td valign="top" align="center">Yes</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td valign="top">class</td> |
|
|
|
<td valign="top">classname</td> |
|
|
|
<td valign="top">the full class name implementing the task</td> |
|
|
|
<td valign="top" align="center">Yes</td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
<h3>Examples</h3> |
|
|
|
<pre> <taskdef name="myjavadoc" value="com.mydomain.JavadocTask" /></pre> |
|
|
|
<pre> <taskdef name="myjavadoc" classname="com.mydomain.JavadocTask" /></pre> |
|
|
|
<p>makes a task called <code>myjavadoc</code> available to Ant. The class <code>com.mydomain.JavadocTask</code> |
|
|
|
implements the task.</p> |
|
|
|
<hr> |
|
|
@@ -2120,7 +2120,7 @@ task has one attribute called "message".</p> |
|
|
|
<blockquote> |
|
|
|
<pre><project name="TaskTest" default="test" basedir="."> |
|
|
|
<target name="init"> |
|
|
|
<taskdef name="mytask" class="com.mydomain.MyVeryOwnTask"/> |
|
|
|
<taskdef name="mytask" classname="com.mydomain.MyVeryOwnTask"/> |
|
|
|
</target> |
|
|
|
|
|
|
|
<target name="test"> |
|
|
|