From 48d22bcece3e205fbf816f7fd1a75c1d846aac92 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Sat, 4 Mar 2000 16:47:01 +0000 Subject: [PATCH] Make attribute names in the documentation match the code Submitted by: Fotis Jannidis git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267627 13f79535-47bb-0310-9956-ffa450edef68 --- docs/index.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/index.html b/docs/index.html index 14685e4ee..d53776ba9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -525,7 +525,7 @@ execution depending on system parameters.

Required - name + property the name of the property to set. Yes @@ -544,7 +544,7 @@ execution depending on system parameters.

Examples

-
  <available class="org.whatever.Myclass" property="Myclass.present" />
+
  <available classname="org.whatever.Myclass" property="Myclass.present" />

sets the property Myclass.present to the value "true" if the org.whatever.Myclass is found in Ant's classpath.


@@ -1232,9 +1232,9 @@ the one that is currently running Ant.

Examples

-
  <java class="test.Main" />
-
  <java class="test.Main" args="-h" />
-
  <java class="test.Main"
+
  <java classname="test.Main" />
+
  <java classname="test.Main" args="-h" />
+
  <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.

Examples

-
  <rmic class="com.xyz.FooBar" base="${build}/classes" />
+
  <rmic classname="com.xyz.FooBar" base="${build}/classes" />

runs the rmic compiler for the class com.xyz.FooBar. The compiled files will be stored in the directory ${build}/classes.


@@ -1933,13 +1933,13 @@ href="#writingowntask">Writing your own task".

Yes - class + classname the full class name implementing the task Yes

Examples

-
  <taskdef name="myjavadoc" value="com.mydomain.JavadocTask" />
+
  <taskdef name="myjavadoc" classname="com.mydomain.JavadocTask" />

makes a task called myjavadoc available to Ant. The class com.mydomain.JavadocTask implements the task.


@@ -2120,7 +2120,7 @@ task has one attribute called "message".

<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">