You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by ru...@locus.apache.org on 2000/03/04 17:47:02 UTC
cvs commit: jakarta-ant/docs index.html
rubys 00/03/04 08:47:01
Modified: docs index.html
Log:
Make attribute names in the documentation match the code
Submitted by: Fotis Jannidis <Fo...@lrz.uni-muenchen.de>
Revision Changes Path
1.12 +9 -9 jakarta-ant/docs/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/index.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- index.html 2000/02/28 11:24:35 1.11
+++ index.html 2000/03/04 16:47:01 1.12
@@ -525,7 +525,7 @@
<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 @@
</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 @@
</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 @@
</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 @@
<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 @@
<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">