You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Conor MacNeill <co...@m64.com> on 2000/02/18 14:08:04 UTC
[PATCH] update documentation for classname attribute
Hi,
Documentation update changing class attribute to classname, which was
required for operation under 1.3RC1
Conor
===================================================================
RCS file: /home/cvspublic/jakarta-ant/docs/index.html,v
retrieving revision 1.10
diff -u -r1.10 index.html
--- index.html 2000/02/14 14:18:57 1.10
+++ index.html 2000/02/18 13:04:59
@@ -527,21 +527,28 @@
<td valign="top" align="center">Yes</td>
</tr>
<tr>
- <td valign="top">class</td>
+ <td valign="top">classname</td>
<td valign="top">the class to look for in classpath.</td>
- <td valign="middle" align="center" rowspan="3">Yes</td>
+ <td align="center" valign="top">Yes</td>
+ </tr>
+ <tr>
+ <td valign="top">class</td>
+ <td valign="top"><b>deprecated</b>, use <i>classname</i> instead.</td>
+ <td align="center" valign="top">No</td>
</tr>
<tr>
<td valign="top">resource</td>
<td valign="top">the resource to look for in the JVM</td>
+ <td align="center" valign="top"> </td>
</tr>
<tr>
<td valign="top">file</td>
<td valign="top">the file to look for.</td>
+ <td align="center" valign="top"> </td>
</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>
@@ -1206,11 +1213,17 @@
<td align="center" valign="top"><b>Required</b></td>
</tr>
<tr>
- <td valign="top">class</td>
+ <td valign="top">classname</td>
<td valign="top">the Java class to execute.</td>
<td align="center" valign="top">Yes</td>
</tr>
<tr>
+ <td valign="top">class</td>
+ <td valign="top"><b>deprecated</b>, use <i>classname</i> instead.</td>
+ <td align="center" valign="top">No</td>
+ </tr>
+
+ <tr>
<td valign="top">args</td>
<td valign="top">the arguments for the class that is executed.</td>
<td align="center" valign="top">No</td>
@@ -1229,9 +1242,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"
@@ -1817,18 +1830,23 @@
<td valign="top" align="center">Yes</td>
</tr>
<tr>
- <td valign="top">class</td>
+ <td valign="top">classname</td>
<td valign="top">the class for which to run <code>rmic</code>.</td>
- <td valign="top" align="center">Yes</td>
+ <td align="center" valign="top">Yes</td>
</tr>
<tr>
+ <td valign="top">class</td>
+ <td valign="top"><b>deprecated</b>, use <i>classname</i> instead.</td>
+ <td align="center" valign="top">No</td>
+ </tr>
+ <tr>
<td valign="top">filtering</td>
<td valign="top">indicates whether token filtering should take
place</td>
<td valign="top" align="center">No</td>
</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>
@@ -1930,13 +1948,18 @@
<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>
+ <td align="center" valign="top">Yes</td>
+ </tr>
+ <tr>
+ <td valign="top">class</td>
+ <td valign="top"><b>deprecated</b>, use <i>classname</i> instead.</td>
+ <td align="center" valign="top">No</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>
--
Conor MacNeill
conor@m64.com
M64 Pty Limited