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">&nbsp;</td>
   </tr>
   <tr>
     <td valign="top">file</td>
     <td valign="top">the file to look for.</td>
+    <td align="center" valign="top">&nbsp;</td>
   </tr>
 </table>
 <h3>Examples</h3>
-<pre>  &lt;available class=&quot;org.whatever.Myclass&quot;
property=&quot;Myclass.present&quot; /&gt;</pre>
+<pre>  &lt;available classname=&quot;org.whatever.Myclass&quot;
property=&quot;Myclass.present&quot; /&gt;</pre>
 <p>sets the property <code><i>Myclass.present</i></code> to the value
&quot;true&quot;
 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>  &lt;java class=&quot;test.Main&quot; /&gt;</pre>
-<pre>  &lt;java class=&quot;test.Main&quot; args=&quot;-h&quot; /&gt;</pre>
-<pre>  &lt;java class=&quot;test.Main&quot;
+<pre>  &lt;java classname=&quot;test.Main&quot; /&gt;</pre>
+<pre>  &lt;java classname=&quot;test.Main&quot; args=&quot;-h&quot;
/&gt;</pre>
+<pre>  &lt;java classname=&quot;test.Main&quot;
         args=&quot;-h&quot;
         fork=&quot;yes&quot;
         jvmargs=&quot;-Xrunhprof:cpu=samples,file=log.txt,depth=3&quot;
@@ -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>  &lt;rmic class=&quot;com.xyz.FooBar&quot;
base=&quot;${build}/classes&quot; /&gt;</pre>
+<pre>  &lt;rmic classname=&quot;com.xyz.FooBar&quot;
base=&quot;${build}/classes&quot; /&gt;</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>  &lt;taskdef name=&quot;myjavadoc&quot;
value=&quot;com.mydomain.JavadocTask&quot; /&gt;</pre>
+<pre>  &lt;taskdef name=&quot;myjavadoc&quot;
classname=&quot;com.mydomain.JavadocTask&quot; /&gt;</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