Thanks. Yeah, it has been a while. $JOB always takes priority over @HOBBIES.
:)

Attached is a new patch to fix places where > was used instead of >, for
consistency.

-- Larry

> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 12, 2004 2:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PATCH] Spelling fixes for OptionalTasks and 
> OptionalTypes
> 
> 
> Hi Larry,
> 
> long time no see.
> 
> patch committed, thanks
> 
>       Stefan

Index: docs/manual/running.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/running.html,v
retrieving revision 1.27
diff -r1.27 running.html
220c220
<     grep -r -n "getPropert" * > ..\grep.txt
---
>     grep -r -n "getPropert" * &gt; ..\grep.txt
Index: docs/manual/tutorial-tasks-filesets-properties.html
===================================================================
RCS file: 
/home/cvspublic/ant/docs/manual/tutorial-tasks-filesets-properties.html,v
retrieving revision 1.4
diff -r1.4 tutorial-tasks-filesets-properties.html
44,45c44,45
< &lt;?xml version="1.0" encoding="ISO-8859-1"?>
< &lt;project name="<b>FindTask</b>" basedir="." default="test">
---
> &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
> &lt;project name="<b>FindTask</b>" basedir="." default="test"&gt;
47,49c47,49
<     &lt;target name="use.init" description="Taskdef´ the <b>Find</b>-Task" 
depends="jar">
<         &lt;taskdef name="<b>find</b>" classname="<b>Find</b>" 
classpath="${ant.project.name}.jar"/>
<     &lt;/target>
---
>     &lt;target name="use.init" description="Taskdef´ the <b>Find</b>-Task" 
> depends="jar"&gt;
>         &lt;taskdef name="<b>find</b>" classname="<b>Find</b>" 
> classpath="${ant.project.name}.jar"/&gt;
>     &lt;/target&gt;
53c53
< &lt;/project>
---
> &lt;/project&gt;
66,67c66,67
<     &lt;find property="test" value="test-value"/>
<     &lt;find print="test"/>
---
>     &lt;find property="test" value="test-value"/&gt;
>     &lt;find print="test"/&gt;
71,72c71,72
<     &lt;property name="test" value="test-value"/>
<     &lt;echo message="${test}"/>
---
>     &lt;property name="test" value="test-value"/&gt;
>     &lt;echo message="${test}"/&gt;
120c120
< an &lt;antcall> creates a new space for property names. All properties from 
the caller
---
> an &lt;antcall&gt; creates a new space for property names. All properties 
> from the caller
161,163c161,163
<     &lt;find file="ant.jar" location="location.ant-jar">
<         &lt;fileset dir="${ant.home}" includes="**/*.jar"/>
<     &lt;/find>
---
>     &lt;find file="ant.jar" location="location.ant-jar"&gt;
>         &lt;fileset dir="${ant.home}" includes="**/*.jar"/&gt;
>     &lt;/find&gt;
318,329c318,329
<     &lt;target name="junit" description="Runs the unit tests" depends="jar">
<         &lt;delete dir="${junit.out.dir.xml}" />
<         &lt;mkdir  dir="${junit.out.dir.xml}" />
<         &lt;junit printsummary="yes" haltonfailure="no">
<             &lt;classpath refid="classpath.test"/>
<             <b>&lt;sysproperty key="ant.home" value="${ant.home}"/></b>
<             &lt;formatter type="xml"/>
<             &lt;batchtest fork="yes" todir="${junit.out.dir.xml}">
<                 &lt;fileset dir="${src.dir}" includes="**/*Test.java"/>
<             &lt;/batchtest>
<         &lt;/junit>
<     &lt;/target>
---
>     &lt;target name="junit" description="Runs the unit tests" 
> depends="jar"&gt;
>         &lt;delete dir="${junit.out.dir.xml}"/&gt;
>         &lt;mkdir  dir="${junit.out.dir.xml}"/&gt;
>         &lt;junit printsummary="yes" haltonfailure="no"&gt;
>             &lt;classpath refid="classpath.test"/&gt;
>             <b>&lt;sysproperty key="ant.home" value="${ant.home}"/&gt;</b>
>             &lt;formatter type="xml"/&gt;
>             &lt;batchtest fork="yes" todir="${junit.out.dir.xml}"&gt;
>                 &lt;fileset dir="${src.dir}" includes="**/*Test.java"/&gt;
>             &lt;/batchtest&gt;
>         &lt;/junit&gt;
>     &lt;/target&gt;
336c336
< possibility of bundling files: the &lt;path>. Fileset are easy if the files 
are all under
---
> possibility of bundling files: the &lt;path&gt;. Fileset are easy if the 
> files are all under
339c339
< &lt;filelist> instead? &lt;path>s combines these datatypes in that way that a 
path contains
---
> &lt;filelist&gt; instead? &lt;path&gt;s combines these datatypes in that way 
> that a path contains
341c341
< Ant-Contribs [4]</a> &lt;foreach> task is modified to support paths instead 
of filesets. So we want that,
---
> Ant-Contribs [4]</a> &lt;foreach&gt; task is modified to support paths 
> instead of filesets. So we want that,
357,359c357,359
<     &lt;find file="ant.jar" location="location.ant-jar">
<         &lt;fileset dir="${ant.home}" includes="**/*.jar"/>
<     &lt;/find>
---
>     &lt;find file="ant.jar" location="location.ant-jar"&gt;
>         &lt;fileset dir="${ant.home}" includes="**/*.jar"/&gt;
>     &lt;/find&gt;
361,365c361,365
<     &lt;find file="ant.jar" location="location.ant-jar">
<         <b>&lt;path></b>                                                *3
<             &lt;fileset dir="${ant.home}" includes="**/*.jar"/>
<         &lt;/path>
<     &lt;/find>
---
>     &lt;find file="ant.jar" location="location.ant-jar"&gt;
>         <b>&lt;path&gt;</b>                                                *3
>             &lt;fileset dir="${ant.home}" includes="**/*.jar"/&gt;
>         &lt;/path&gt;
>     &lt;/find&gt;
417c417
< tasks use lists. The most famous task using lists is Ant-Contribs 
&lt;foreach>. All list
---
> tasks use lists. The most famous task using lists is Ant-Contribs 
> &lt;foreach&gt;. All list
423c423
<     &lt;find ... <b>delimiter=""</b>/> ... &lt;/find>
---
>     &lt;find ... <b>delimiter=""</b>/&gt; ... &lt;/find&gt;
439,441c439,441
<     &lt;target name="test.init">
<         &lt;mkdir dir="test1/dir11/dir111"/>                             *1
<         &lt;mkdir dir="test1/dir11/dir112"/>
---
>     &lt;target name="test.init"&gt;
>         &lt;mkdir dir="test1/dir11/dir111"/&gt;                             *1
>         &lt;mkdir dir="test1/dir11/dir112"/&gt;
443,444c443,444
<         &lt;touch file="test1/dir11/dir111/test"/>
<         &lt;touch file="test1/dir11/dir111/not"/>
---
>         &lt;touch file="test1/dir11/dir111/test"/&gt;
>         &lt;touch file="test1/dir11/dir111/not"/&gt;
446,467c446,467
<         &lt;touch file="test1/dir13/dir131/not2"/>
<         &lt;touch file="test1/dir13/dir132/test"/>
<         &lt;touch file="test1/dir13/dir132/not"/>
<         &lt;touch file="test1/dir13/dir132/not2"/>
<         &lt;mkdir dir="test2"/>
<         &lt;copy todir="test2">                                          *2
<             &lt;fileset dir="test1"/>
<         &lt;/copy>
<     &lt;/target>
< 
<     &lt;target name="testMultipleFiles" depends="use.init,<b>test.init</b>">  
  *3
<         &lt;find file="test" location="location.test" <b>delimiter=";"</b>>
<             &lt;path>
<                 &lt;fileset dir="test1"/>
<                 &lt;fileset dir="test2"/>
<             &lt;/path>
<         &lt;/find>
<         &lt;delete>                                                      *4
<             &lt;fileset dir="test1"/>
<             &lt;fileset dir="test2"/>
<         &lt;/delete>
<     &lt;/target>
---
>         &lt;touch file="test1/dir13/dir131/not2"/&gt;
>         &lt;touch file="test1/dir13/dir132/test"/&gt;
>         &lt;touch file="test1/dir13/dir132/not"/&gt;
>         &lt;touch file="test1/dir13/dir132/not2"/&gt;
>         &lt;mkdir dir="test2"/&gt;
>         &lt;copy todir="test2"&gt;                                          *2
>             &lt;fileset dir="test1"/&gt;
>         &lt;/copy&gt;
>     &lt;/target&gt;
> 
>     &lt;target name="testMultipleFiles" 
> depends="use.init,<b>test.init</b>"&gt;    *3
>         &lt;find file="test" location="location.test" <b>delimiter=";"</b>&gt;
>             &lt;path&gt;
>                 &lt;fileset dir="test1"/&gt;
>                 &lt;fileset dir="test2"/&gt;
>             &lt;/path&gt;
>         &lt;/find&gt;
>         &lt;delete&gt;                                                      *4
>             &lt;fileset dir="test1"/&gt;
>             &lt;fileset dir="test2"/&gt;
>         &lt;/delete&gt;
>     &lt;/target&gt;
566c566
< &lt;html>
---
> &lt;html&gt;
568,585c568,585
< &lt;head>
< &lt;meta http-equiv="Content-Language" content="en-us">
< &lt;title> <b>Taskname</b> Task&lt;/title>
< &lt;/head>
< 
< &lt;body>
< 
< &lt;h2>&lt;a name="<i>taskname</i>"><b>Taskname</b>&lt;/a>&lt;/h2>
< &lt;h3>Description&lt;/h3>
< &lt;p> <b>Describe the task.</b>&lt;/p>
< 
< &lt;h3>Parameters&lt;/h3>
< &lt;table border="1" cellpadding="2" cellspacing="0">
<   &lt;tr>
<     &lt;td valign="top">&lt;b>Attribute&lt;/b>&lt;/td>
<     &lt;td valign="top">&lt;b>Description&lt;/b>&lt;/td>
<     &lt;td align="center" valign="top">&lt;b>Required&lt;/b>&lt;/td>
<   &lt;/tr>
---
> &lt;head&gt;
> &lt;meta http-equiv="Content-Language" content="en-us"&gt;
> &lt;title&gt; <b>Taskname</b> Task&lt;/title&gt;
> &lt;/head&gt;
> 
> &lt;body&gt;
> 
> &lt;h2&gt;&lt;a name="<i>taskname</i>"&gt;<b>Taskname</b>&lt;/a&gt;&lt;/h2&gt;
> &lt;h3&gt;Description&lt;/h3&gt;
> &lt;p&gt; <b>Describe the task.</b>&lt;/p&gt;
> 
> &lt;h3&gt;Parameters&lt;/h3&gt;
> &lt;table border="1" cellpadding="2" cellspacing="0"&gt;
>   &lt;tr&gt;
>     &lt;td valign="top"&gt;&lt;b&gt;Attribute&lt;/b&gt;&lt;/td&gt;
>     &lt;td valign="top"&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;
>     &lt;td align="center" 
> valign="top"&gt;&lt;b&gt;Required&lt;/b&gt;&lt;/td&gt;
>   &lt;/tr&gt;
588,592c588,592
<   &lt;tr>
<     &lt;td valign="top">classname&lt;/td>
<     &lt;td valign="top">the Java class to execute.&lt;/td>
<     &lt;td align="center" valign="top">Either jar or classname&lt;/td>
<   &lt;/tr>
---
>   &lt;tr&gt;
>     &lt;td valign="top"&gt;classname&lt;/td&gt;
>     &lt;td valign="top"&gt;the Java class to execute.&lt;/td&gt;
>     &lt;td align="center" valign="top"&gt;Either jar or classname&lt;/td&gt;
>   &lt;/tr&gt;
594c594
< &lt;/table>
---
> &lt;/table&gt;
596c596
< &lt;h3>Parameters specified as nested elements&lt;/h3>
---
> &lt;h3&gt;Parameters specified as nested elements&lt;/h3&gt;
599,601c599,601
< &lt;h4><b>your nested element</b>&lt;/h4>
< &lt;p> <b>description</b> &lt;/p>
< &lt;p>&lt;em>since Ant 1.6&lt;/em>.&lt;/p>
---
> &lt;h4&gt;your nested element</b>&lt;/h4&gt;
> &lt;p&gt; <b>description</b> &lt;/p&gt;
> &lt;p&gt;&lt;em&gt;since Ant 1.6&lt;/em&gt;.&lt;/p&gt;
603,604c603,604
< &lt;h3>Examples&lt;/h3>
< &lt;pre>
---
> &lt;h3&gt;Examples&lt;/h3&gt;
> &lt;pre&gt;
606c606
< &lt;/pre>
---
> &lt;/pre&gt;
609,610c609,610
< &lt;/body>
< &lt;/html>
---
> &lt;/body&gt;
> &lt;/html&gt;
615c615
< &lt;html>
---
> &lt;html&gt;
617,678c617,678
< &lt;head>
< &lt;meta http-equiv="Content-Language" content="en-us">
< &lt;title> Find Task&lt;/title>
< &lt;/head>
< 
< &lt;body>
< 
< &lt;h2>&lt;a name="find">Find&lt;/a>&lt;/h2>
< &lt;h3>Description&lt;/h3>
< &lt;p>Searchs in a given path for a file and returns the absolute to it as 
property.
< If delimiter is set this task returns all found locations.&lt;/p>
< 
< &lt;h3>Parameters&lt;/h3>
< &lt;table border="1" cellpadding="2" cellspacing="0">
<   &lt;tr>
<     &lt;td valign="top">&lt;b>Attribute&lt;/b>&lt;/td>
<     &lt;td valign="top">&lt;b>Description&lt;/b>&lt;/td>
<     &lt;td align="center" valign="top">&lt;b>Required&lt;/b>&lt;/td>
<   &lt;/tr>
<   &lt;tr>
<     &lt;td valign="top">file&lt;/td>
<     &lt;td valign="top">The name of the file to search.&lt;/td>
<     &lt;td align="center" valign="top">yes&lt;/td>
<   &lt;/tr>
<   &lt;tr>
<     &lt;td valign="top">location&lt;/td>
<     &lt;td valign="top">The name of the property where to store the 
location&lt;/td>
<     &lt;td align="center" valign="top">yes&lt;/td>
<   &lt;/tr>
<   &lt;tr>
<     &lt;td valign="top">delimiter&lt;/td>
<     &lt;td valign="top">A delimiter to use when returning the list&lt;/td>
<     &lt;td align="center" valign="top">only if the list is required&lt;/td>
<   &lt;/tr>
< &lt;/table>
< 
< &lt;h3>Parameters specified as nested elements&lt;/h3>
< 
< &lt;h4>path&lt;/h4>
< &lt;p>The path where to search the file.&lt;/p>
< 
< &lt;h3>Examples&lt;/h3>
< &lt;pre>
<     &lt;find file="ant.jar" location="loc">
<         &lt;path>
<             &lt;fileset dir="${ant.home}"/>
<         &lt;path>
<     &lt;/find>
< &lt;/pre>
< Searches in Ants home directory for a file &lt;i>ant.jar&lt;/i> and stores 
its location in
< property &lt;i>loc&lt;/i> (should be ANT_HOME/bin/ant.jar).
< 
< &lt;pre>
<     &lt;find file="ant.jar" location="loc" delimiter=";">
<         &lt;path>
<             &lt;fileset dir="C:/"/>
<         &lt;path>
<     &lt;/find>
<     &lt;echo>ant.jar found in: ${loc}&lt;/echo>
< &lt;/pre>
< Searches in Windows C: drive for all &lt;i>ant.jar&lt;/i> and stores their 
locations in
< property &lt;i>loc&lt;/i> delimited with &lt;i>';'&lt;/i>. (should need a 
long time :-)
---
> &lt;head&gt;
> &lt;meta http-equiv="Content-Language" content="en-us"&gt;
> &lt;title&gt; Find Task&lt;/title&gt;
> &lt;/head&gt;
> 
> &lt;body&gt;
> 
> &lt;h2&gt;&lt;a name="find"&gt;Find&lt;/a&gt;&lt;/h2&gt;
> &lt;h3&gt;Description&lt;/h3&gt;
> &lt;p&gt;Searchs in a given path for a file and returns the absolute to it as 
> property.
> If delimiter is set this task returns all found locations.&lt;/p&gt;
> 
> &lt;h3&gt;Parameters&lt;/h3&gt;
> &lt;table border="1" cellpadding="2" cellspacing="0"&gt;
>   &lt;tr&gt;
>     &lt;td valign="top"&gt;&lt;b&gt;Attribute&lt;/b&gt;&lt;/td&gt;
>     &lt;td valign="top"&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;
>     &lt;td align="center" 
> valign="top"&gt;&lt;b&gt;Required&lt;/b&gt;&lt;/td&gt;
>   &lt;/tr&gt;
>   &lt;tr&gt;
>     &lt;td valign="top"&gt;file&lt;/td&gt;
>     &lt;td valign="top"&gt;The name of the file to search.&lt;/td&gt;
>     &lt;td align="center" valign="top"&gt;yes&lt;/td&gt;
>   &lt;/tr&gt;
>   &lt;tr&gt;
>     &lt;td valign="top"&gt;location&lt;/td&gt;
>     &lt;td valign="top"&gt;The name of the property where to store the 
> location&lt;/td&gt;
>     &lt;td align="center" valign="top"&gt;yes&lt;/td&gt;
>   &lt;/tr&gt;
>   &lt;tr&gt;
>     &lt;td valign="top"&gt;delimiter&lt;/td&gt;
>     &lt;td valign="top"&gt;A delimiter to use when returning the 
> list&lt;/td&gt;
>     &lt;td align="center" valign="top"&gt;only if the list is 
> required&lt;/td&gt;
>   &lt;/tr&gt;
> &lt;/table&gt;
> 
> &lt;h3&gt;Parameters specified as nested elements&lt;/h3&gt;
> 
> &lt;h4&gt;path&lt;/h4&gt;
> &lt;p&gt;The path where to search the file.&lt;/p&gt;
> 
> &lt;h3&gt;Examples&lt;/h3&gt;
> &lt;pre&gt;
>     &lt;find file="ant.jar" location="loc"&gt;
>         &lt;path&gt;
>             &lt;fileset dir="${ant.home}"/&gt;
>         &lt;path&gt;
>     &lt;/find&gt;
> &lt;/pre&gt;
> Searches in Ants home directory for a file &lt;i&gt;ant.jar&lt;/i&gt; and 
> stores its location in
> property &lt;i&gt;loc&lt;/i&gt; (should be ANT_HOME/bin/ant.jar).
> 
> &lt;pre&gt;
>     &lt;find file="ant.jar" location="loc" delimiter=";"&gt;
>         &lt;path&gt;
>             &lt;fileset dir="C:/"/&gt;
>         &lt;path&gt;
>     &lt;/find&gt;
>     &lt;echo&gt;ant.jar found in: ${loc}&lt;/echo&gt;
> &lt;/pre&gt;
> Searches in Windows C: drive for all &lt;i&gt;ant.jar&lt;/i&gt; and stores 
> their locations in
> property &lt;i&gt;loc&lt;/i&gt; delimited with &lt;i&gt;';'&lt;/i&gt;. 
> (should need a long time :-)
681,682c681,682
< &lt;/body>
< &lt;/html>
---
> &lt;/body&gt;
> &lt;/html&gt;
758,760c758,760
< ANTHOME> build                                                    // 1
< ANTHOME> set ANT_HOME=%CD%\dist                                   // 2
< ANTHOME> ant test -Dtest.haltonfailure=false                      // 3
---
> ANTHOME&gt; build                                                    // 1
> ANTHOME&gt; set ANT_HOME=%CD%\dist                                   // 2
> ANTHOME&gt; ant test -Dtest.haltonfailure=false                      // 3
785c785
< <li>add a <tt>&lt;a href="CoreTasks/find.html">Find&lt;/a>&lt;br></tt>
---
> <li>add a <tt>&lt;a 
> href="CoreTasks/find.html"&gt;Find&lt;/a&gt;&lt;br&gt;</tt>
791,792c791,792
< ANTHOME> build
< ANTHOME> ant run-single-test                                      // 1
---
> ANTHOME&gt; build
> ANTHOME&gt; ant run-single-test                                      // 1
802,803c802,803
< <p>Ok: in the earlier steps we told Ant to use the Find class for the 
&lt;find> task (remember the
< &lt;taskdef> statement in the "use.init" target). But now we want to 
introduce that task as
---
> <p>Ok: in the earlier steps we told Ant to use the Find class for the 
> &lt;find&gt; task (remember the
> &lt;taskdef&gt; statement in the "use.init" target). But now we want to 
> introduce that task as
809,810c809,810
< ANTHOME> build                                                    // 1
< ANTHOME> ant run-single-test
---
> ANTHOME&gt; build                                                    // 1
> ANTHOME&gt; ant run-single-test
819c819
< ANTHOME> ant test -Dtest.haltonfailure=false
---
> ANTHOME&gt; ant test -Dtest.haltonfailure=false
866c866
< ANTHOME> ant -f check.xml checkstyle htmlreport
---
> ANTHOME&gt; ant -f check.xml checkstyle htmlreport
903c903
<   <td>This new task looks inside a nested &lt;path/> for occurrences of a 
file and stores
---
>   <td>This new task looks inside a nested &lt;path/&gt; for occurrences of a 
> file and stores
Index: docs/manual/tutorial-writing-tasks.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/tutorial-writing-tasks.html,v
retrieving revision 1.4
diff -r1.4 tutorial-writing-tasks.html
47,48c47,48
< &lt;?xml version="1.0" encoding="ISO-8859-1"?>
< &lt;project name="MyTask" basedir="." default="jar">
---
> &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
> &lt;project name="MyTask" basedir="." default="jar"&gt;
50,61c50,61
<     &lt;target name="clean" description="Delete all generated files">
<         &lt;delete dir="classes"/>
<         &lt;delete file="MyTasks.jar"/>
<     &lt;/target>
< 
<     &lt;target name="compile" description="Compiles the Task">
<         &lt;javac srcdir="src" destdir="classes"/>
<     &lt;/target>
< 
<     &lt;target name="jar" description="JARs the Task">
<         &lt;jar destfile="MyTask.jar" basedir="classes"/>
<     &lt;/target>
---
>     &lt;target name="clean" description="Delete all generated files"&gt;
>         &lt;delete dir="classes"/&gt;
>         &lt;delete file="MyTasks.jar"/&gt;
>     &lt;/target&gt;
> 
>     &lt;target name="compile" description="Compiles the Task"&gt;
>         &lt;javac srcdir="src" destdir="classes"/&gt;
>     &lt;/target&gt;
> 
>     &lt;target name="jar" description="JARs the Task"&gt;
>         &lt;jar destfile="MyTask.jar" basedir="classes"/&gt;
>     &lt;/target&gt;
63c63
< &lt;/project>
---
> &lt;/project&gt;
67c67
< using &lt;property>s. On second there are some handicaps: &lt;javac> requires 
that the destination
---
> using &lt;property&gt;s. On second there are some handicaps: &lt;javac&gt; 
> requires that the destination
72,73c72,73
< &lt;?xml version="1.0" encoding="ISO-8859-1"?>
< &lt;project name="MyTask" basedir="." default="jar">
---
> &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
> &lt;project name="MyTask" basedir="." default="jar"&gt;
75,76c75,76
<     <b>&lt;property name="src.dir" value="src"/></b>
<     <b>&lt;property name="classes.dir" value="classes"/></b>
---
>     <b>&lt;property name="src.dir" value="src"/&gt;</b>
>     <b>&lt;property name="classes.dir" value="classes"/&gt;</b>
78,90c78,90
<     &lt;target name="clean" description="Delete all generated files">
<         &lt;delete dir="<b>${classes.dir}</b>" <b>failonerror="false"</b>/>
<         &lt;delete file="<b>${ant.project.name}.jar</b>"/>
<     &lt;/target>
< 
<     &lt;target name="compile" description="Compiles the Task">
<         <b>&lt;mkdir dir="${classes.dir}"/></b>
<         &lt;javac srcdir="<b>${src.dir}</b>" destdir="${classes.dir}"/>
<     &lt;/target>
< 
<     &lt;target name="jar" description="JARs the Task" 
<b>depends="compile"</b>>
<         &lt;jar destfile="${ant.project.name}.jar" basedir="${classes.dir}"/>
<     &lt;/target>
---
>     &lt;target name="clean" description="Delete all generated files"&gt;
>         &lt;delete dir="<b>${classes.dir}</b>" <b>failonerror="false"</b>/&gt;
>         &lt;delete file="<b>${ant.project.name}.jar</b>"/&gt;
>     &lt;/target&gt;
> 
>     &lt;target name="compile" description="Compiles the Task"&gt;
>         <b>&lt;mkdir dir="${classes.dir}"/&gt;</b>
>         &lt;javac srcdir="<b>${src.dir}</b>" destdir="${classes.dir}"/&gt;
>     &lt;/target&gt;
> 
>     &lt;target name="jar" description="JARs the Task" 
> <b>depends="compile"</b>&gt;
>         &lt;jar destfile="${ant.project.name}.jar" 
> basedir="${classes.dir}"/&gt;
>     &lt;/target&gt;
92c92
< &lt;/project>
---
> &lt;/project&gt;
121c121
< &lt;taskdef> [2]</a>. And for easier process we change the default clause:
---
> &lt;taskdef&gt; [2]</a>. And for easier process we change the default clause:
123,124c123,124
< &lt;?xml version="1.0" encoding="ISO-8859-1"?>
< &lt;project name="MyTask" basedir="." default="<b>use</b>">
---
> &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
> &lt;project name="MyTask" basedir="." default="<b>use</b>"&gt;
128,131c128,131
<     <b>&lt;target name="use" description="Use the Task" depends="jar">
<         &lt;taskdef name="helloworld" classname="HelloWorld" 
classpath="${ant.project.name}.jar"/>
<         &lt;helloworld/>
<     &lt;/target></b>
---
>     <b>&lt;target name="use" description="Use the Task" depends="jar"&gt;
>         &lt;taskdef name="helloworld" classname="HelloWorld" 
> classpath="${ant.project.name}.jar"/&gt;
>         &lt;helloworld/&gt;
>     &lt;/target&gt;</b>
133c133
< &lt;/project>
---
> &lt;/project&gt;
229,230c229,230
< rewriting the &lt;echo/> task :-). First we well do that with an attribute.
< It is very easy - for each attribute provide a <tt>public void 
set&lt;attributename>(&lt;type>
---
> rewriting the &lt;echo/&gt; task :-). First we well do that with an attribute.
> It is very easy - for each attribute provide a <tt>public void 
> set&lt;attributename&gt;(&lt;type&gt;
260c260
<     &lt;target name="use" description="Use the Task" depends="jar">
---
>     &lt;target name="use" description="Use the Task" depends="jar"&gt;
263,265c263,265
<                  classpath="${ant.project.name}.jar"/>
<         &lt;helloworld <b>message="Hello World"</b>/>
<     &lt;/target>
---
>                  classpath="${ant.project.name}.jar"/&gt;
>         &lt;helloworld <b>message="Hello World"</b>/&gt;
>     &lt;/target&gt;
278c278
< Before calling the set-method all properties are resolved. So a 
<tt>&lt;helloworld message="${msg}"/></tt>
---
> Before calling the set-method all properties are resolved. So a 
> <tt>&lt;helloworld message="${msg}"/&gt;</tt>
284c284
< <p>Maybe you have used the &lt;echo> task in a way like <tt>&lt;echo>Hello 
World&lt;/echo></tt>.
---
> <p>Maybe you have used the &lt;echo&gt; task in a way like 
> <tt>&lt;echo&gt;Hello World&lt;/echo&gt;</tt>.
308c308
<   as for the task (set&lt;attributename>() methods). </li>
---
>   as for the task (set&lt;attributename&gt;() methods). </li>
349,352c349,352
<         &lt;helloworld>
<             &lt;message msg="Nested Element 1"/>
<             &lt;message msg="Nested Element 2"/>
<         &lt;/helloworld>
---
>         &lt;helloworld&gt;
>             &lt;message msg="Nested Element 1"/&gt;
>             &lt;message msg="Nested Element 2"/&gt;
>         &lt;/helloworld&gt;
360,361c360,361
< &lt;?xml version="1.0" encoding="ISO-8859-1"?>
< &lt;project name="MyTask" basedir="." default="use">
---
> &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
> &lt;project name="MyTask" basedir="." default="use"&gt;
363,364c363,364
<     &lt;property name="src.dir" value="src"/>
<     &lt;property name="classes.dir" value="classes"/>
---
>     &lt;property name="src.dir" value="src"/&gt;
>     &lt;property name="classes.dir" value="classes"/&gt;
366,378c366,378
<     &lt;target name="clean" description="Delete all generated files">
<         &lt;delete dir="${classes.dir}" failonerror="false"/>
<         &lt;delete file="${ant.project.name}.jar"/>
<     &lt;/target>
< 
<     &lt;target name="compile" description="Compiles the Task">
<         &lt;mkdir dir="${classes.dir}"/>
<         &lt;javac srcdir="${src.dir}" destdir="${classes.dir}"/>
<     &lt;/target>
< 
<     &lt;target name="jar" description="JARs the Task" depends="compile">
<         &lt;jar destfile="${ant.project.name}.jar" basedir="${classes.dir}"/>
<     &lt;/target>
---
>     &lt;target name="clean" description="Delete all generated files"&gt;
>         &lt;delete dir="${classes.dir}" failonerror="false"/&gt;
>         &lt;delete file="${ant.project.name}.jar"/&gt;
>     &lt;/target&gt;
> 
>     &lt;target name="compile" description="Compiles the Task"&gt;
>         &lt;mkdir dir="${classes.dir}"/&gt;
>         &lt;javac srcdir="${src.dir}" destdir="${classes.dir}"/&gt;
>     &lt;/target&gt;
> 
>     &lt;target name="jar" description="JARs the Task" depends="compile"&gt;
>         &lt;jar destfile="${ant.project.name}.jar" 
> basedir="${classes.dir}"/&gt;
>     &lt;/target&gt;
383c383
<             depends="jar">
---
>             depends="jar"&gt;
386,387c386,387
<                  classpath="${ant.project.name}.jar"/>
<     &lt;/target>
---
>                  classpath="${ant.project.name}.jar"/&gt;
>     &lt;/target&gt;
392,394c392,394
<             depends="use.init">
<         &lt;helloworld/>
<     &lt;/target>
---
>             depends="use.init"&gt;
>         &lt;helloworld/&gt;
>     &lt;/target&gt;
398,400c398,400
<             depends="use.init">
<         &lt;helloworld message="attribute-text"/>
<     &lt;/target>
---
>             depends="use.init"&gt;
>         &lt;helloworld message="attribute-text"/&gt;
>     &lt;/target&gt;
404,406c404,406
<             depends="use.init">
<         &lt;helloworld fail="true"/>
<     &lt;/target>
---
>             depends="use.init"&gt;
>         &lt;helloworld fail="true"/&gt;
>     &lt;/target&gt;
410,412c410,412
<             depends="use.init">
<         &lt;helloworld>nested-text&lt;/helloworld>
<     &lt;/target>
---
>             depends="use.init"&gt;
>         &lt;helloworld&gt;nested-text&lt;/helloworld&gt;
>     &lt;/target&gt;
416,421c416,421
<             depends="use.init">
<         &lt;helloworld>
<             &lt;message msg="Nested Element 1"/>
<             &lt;message msg="Nested Element 2"/>
<         &lt;/helloworld>
<     &lt;/target>
---
>             depends="use.init"&gt;
>         &lt;helloworld&gt;
>             &lt;message msg="Nested Element 1"/&gt;
>             &lt;message msg="Nested Element 2"/&gt;
>         &lt;/helloworld&gt;
>     &lt;/target&gt;
427c427
<     />
---
>     /&gt;
429c429
< &lt;/project>
---
> &lt;/project&gt;
508c508
< C:\tmp\anttests\MyFirstTask>ant
---
> C:\tmp\anttests\MyFirstTask&gt;ant
540c540
< C:\tmp\anttests\MyFirstTask>ant use.fail
---
> C:\tmp\anttests\MyFirstTask&gt;ant use.fail
555c555
< C:\tmp\anttests\MyFirstTask>
---
> C:\tmp\anttests\MyFirstTask&gt;
583,584c583,584
< <p>For executing the test and creating a report we need the optional tasks 
&lt;junit>
< and &lt;junitreport>. So we add to the buildfile:
---
> <p>For executing the test and creating a report we need the optional tasks 
> &lt;junit&gt;
> and &lt;junitreport&gt;. So we add to the buildfile:
589,615c589,615
<     &lt;property name="ant.test.lib" value="ant-testutil.jar"/>
<     &lt;property name="report.dir"   value="report"/>
<     &lt;property name="junit.out.dir.xml"  value="${report.dir}/junit/xml"/>
<     &lt;property name="junit.out.dir.html" value="${report.dir}/junit/html"/>
< 
<     &lt;path id="classpath.run">
<         &lt;path path="${java.class.path}"/>
<         &lt;path location="${ant.project.name}.jar"/>
<     &lt;/path>
< 
<     &lt;path id="classpath.test">
<         &lt;path refid="classpath.run"/>
<         &lt;path location="${ant.test.lib}"/>
<     &lt;/path>
< 
<     &lt;target name="clean" description="Delete all generated files">
<         &lt;delete failonerror="false" includeEmptyDirs="true">
<             &lt;fileset dir="." includes="${ant.project.name}.jar"/>
<             &lt;fileset dir="${classes.dir}"/>
<             &lt;fileset dir="${report.dir}"/>
<         &lt;/delete>
<     &lt;/target>
< 
<     <font color="#9F9F9F">&lt;target name="compile" description="Compiles the 
Task">
<         &lt;mkdir dir="${classes.dir}"/>
<         &lt;javac srcdir="${src.dir}" destdir="${classes.dir}" 
</font>classpath="${ant.test.lib}"<font color="#9F9F9F">/>
<     &lt;/target></font>
---
>     &lt;property name="ant.test.lib" value="ant-testutil.jar"/&gt;
>     &lt;property name="report.dir"   value="report"/&gt;
>     &lt;property name="junit.out.dir.xml"  
> value="${report.dir}/junit/xml"/&gt;
>     &lt;property name="junit.out.dir.html" 
> value="${report.dir}/junit/html"/&gt;
> 
>     &lt;path id="classpath.run"&gt;
>         &lt;path path="${java.class.path}"/&gt;
>         &lt;path location="${ant.project.name}.jar"/&gt;
>     &lt;/path&gt;
> 
>     &lt;path id="classpath.test"&gt;
>         &lt;path refid="classpath.run"/&gt;
>         &lt;path location="${ant.test.lib}"/&gt;
>     &lt;/path&gt;
> 
>     &lt;target name="clean" description="Delete all generated files"&gt;
>         &lt;delete failonerror="false" includeEmptyDirs="true"&gt;
>             &lt;fileset dir="." includes="${ant.project.name}.jar"/&gt;
>             &lt;fileset dir="${classes.dir}"/&gt;
>             &lt;fileset dir="${report.dir}"/&gt;
>         &lt;/delete&gt;
>     &lt;/target&gt;
> 
>     <font color="#9F9F9F">&lt;target name="compile" description="Compiles the 
> Task"&gt;
>         &lt;mkdir dir="${classes.dir}"/&gt;
>         &lt;javac srcdir="${src.dir}" destdir="${classes.dir}" 
> </font>classpath="${ant.test.lib}"<font color="#9F9F9F">/&gt;
>     &lt;/target&gt;</font>
617,637c617,637
<     &lt;target name="junit" description="Runs the unit tests" depends="jar">
<         &lt;delete dir="${junit.out.dir.xml}" />
<         &lt;mkdir  dir="${junit.out.dir.xml}" />
<         &lt;junit printsummary="yes" haltonfailure="no">
<             &lt;classpath refid="classpath.test"/>
<             &lt;formatter type="xml"/>
<             &lt;batchtest fork="yes" todir="${junit.out.dir.xml}">
<                 &lt;fileset dir="${src.dir}" includes="**/*Test.java"/>
<             &lt;/batchtest>
<         &lt;/junit>
<     &lt;/target>
< 
<     &lt;target name="junitreport" description="Create a report for the rest 
result">
<         &lt;mkdir dir="${junit.out.dir.html}" />
<         &lt;junitreport todir="${junit.out.dir.html}">
<             &lt;fileset dir="${junit.out.dir.xml}">
<                 &lt;include name="*.xml"/>
<             &lt;/fileset>
<             &lt;report format="frames" todir="${junit.out.dir.html}"/>
<         &lt;/junitreport>
<     &lt;/target>
---
>     &lt;target name="junit" description="Runs the unit tests" 
> depends="jar"&gt;
>         &lt;delete dir="${junit.out.dir.xml}"/&gt;
>         &lt;mkdir  dir="${junit.out.dir.xml}"/&gt;
>         &lt;junit printsummary="yes" haltonfailure="no"&gt;
>             &lt;classpath refid="classpath.test"/&gt;
>             &lt;formatter type="xml"/&gt;
>             &lt;batchtest fork="yes" todir="${junit.out.dir.xml}"&gt;
>                 &lt;fileset dir="${src.dir}" includes="**/*Test.java"/&gt;
>             &lt;/batchtest&gt;
>         &lt;/junit&gt;
>     &lt;/target&gt;
> 
>     &lt;target name="junitreport" description="Create a report for the rest 
> result"&gt;
>         &lt;mkdir dir="${junit.out.dir.html}"/&gt;
>         &lt;junitreport todir="${junit.out.dir.html}"&gt;
>             &lt;fileset dir="${junit.out.dir.xml}"&gt;
>                 &lt;include name="*.xml"/&gt;
>             &lt;/fileset&gt;
>             &lt;report format="frames" todir="${junit.out.dir.html}"/&gt;
>         &lt;/junitreport&gt;
>     &lt;/target&gt;
642c642
<     />
---
>     /&gt;
696c696
< C:\tmp\anttests\MyFirstTask>ant
---
> C:\tmp\anttests\MyFirstTask&gt;ant
722c722
< C:\tmp\anttests\MyFirstTask>
---
> C:\tmp\anttests\MyFirstTask&gt;
Index: docs/manual/CoreTasks/changelog.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/CoreTasks/changelog.html,v
retrieving revision 1.15
diff -r1.15 changelog.html
216c216
<     &lt;msg&gt;&lt;![CDATA[Use URLs directly rather than go via a FIle.
---
>     &lt;msg&gt;&lt;![CDATA[Use URLs directly rather than go via a File.
218c218
< This allows temp[lates to be stored inside jar]]&gt;&lt;/msg&gt;
---
> This allows templates to be stored inside jar]]&gt;&lt;/msg&gt;
Index: docs/manual/CoreTasks/chmod.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/CoreTasks/chmod.html,v
retrieving revision 1.16
diff -r1.16 chmod.html
150,151c150,151
< extension or directories begining with <code>private_</code>. A directory 
< ending in <code>.old</code> or a file begining with private_ would remain
---
> extension or directories beginning with <code>private_</code>. A directory 
> ending in <code>.old</code> or a file beginning with private_ would remain
Index: docs/manual/CoreTypes/filterchain.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/CoreTypes/filterchain.html,v
retrieving revision 1.20
diff -r1.20 filterchain.html
651c651
<      <TD><PRE>&lt;filterchain>
---
>      <TD><PRE>&lt;filterchain&gt;
653c653
< &lt;/filterchain></PRE></TD>
---
> &lt;/filterchain&gt;</PRE></TD>
657c657
<      <TD><PRE>&lt;filterchain>
---
>      <TD><PRE>&lt;filterchain&gt;
659c659
< &lt;/filterchain></PRE></TD>
---
> &lt;/filterchain&gt;</PRE></TD>
663c663
<      <TD><PRE>&lt;filterchain>
---
>      <TD><PRE>&lt;filterchain&gt;
665c665
< &lt;/filterchain></PRE></TD>
---
> &lt;/filterchain&gt;</PRE></TD>
669,672c669,672
<      <TD><PRE>&lt;filterchain>
<     &lt;headfilter lines="-1" skip="2"/>
<     &lt;tailfilter lines="-1" skip="2"/>
< &lt;/filterchain></PRE></TD>
---
>      <TD><PRE>&lt;filterchain&gt;
>     &lt;headfilter lines="-1" skip="2"/&gt;
>     &lt;tailfilter lines="-1" skip="2"/&gt;
> &lt;/filterchain&gt;</PRE></TD>
676c676
<      <TD><PRE>&lt;filterchain>
---
>      <TD><PRE>&lt;filterchain&gt;
678c678
< &lt;/filterchain></PRE></TD>
---
> &lt;/filterchain&gt;</PRE></TD>
Index: docs/manual/CoreTypes/selectors-program.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/CoreTypes/selectors-program.html,v
retrieving revision 1.5
diff -r1.5 selectors-program.html
204c204
<     [junit] expected:&lt;<font color=blue>FTTTFTTTF...</font>> but 
was:&lt;TTTTTTTTT...>
---
>     [junit] expected:&lt;<font color=blue>FTTTFTTTF...</font>&gt; but 
> was:&lt;TTTTTTTTT...&gt;
206c206
<     [junit] expected:&lt;FTTTFTTTF...> but was:&lt;TTTTTTTTT...>
---
>     [junit] expected:&lt;FTTTFTTTF...&gt; but was:&lt;TTTTTTTTT...&gt;
Index: docs/manual/CoreTypes/selectors.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/CoreTypes/selectors.html,v
retrieving revision 1.25
diff -r1.25 selectors.html
616c616
<   &lt;type type="dir"/>
---
>   &lt;type type="dir"/&gt;
625,630c625,630
< &lt;fileset dir="${src}">
<     &lt;and>
<         &lt;present targetdir="template"/>
<         &lt;type type="file"/>
<     &lt;/and>
< &lt;/fileset>
---
> &lt;fileset dir="${src}"&gt;
>     &lt;and&gt;
>         &lt;present targetdir="template"/&gt;
>         &lt;type type="file"/&gt;
>     &lt;/and&gt;
> &lt;/fileset&gt;
819,823c819,823
<     &lt;copy todir="dest">
<         &lt;fileset dir="src">
<             &lt;modified/>
<         &lt;/fileset>
<     &lt;/copy
---
>     &lt;copy todir="dest"&gt;
>         &lt;fileset dir="src"&gt;
>             &lt;modified/&gt;
>         &lt;/fileset&gt;
>     &lt;/copy&gt;
830,831c830,831
<     &lt;copy todir="dest">
<         &lt;fileset dir="src">
---
>     &lt;copy todir="dest"&gt;
>         &lt;fileset dir="src"&gt;
836,841c836,841
<                       comparator="equal">
<                 &lt;param name="cache.cachefile"     
value="cache.properties"/>
<                 &lt;param name="algorithm.algorithm" value="MD5"/>
<             &lt;/modified>
<         &lt;/fileset>
<     &lt;/copy>
---
>                       comparator="equal"&gt;
>                 &lt;param name="cache.cachefile"     
> value="cache.properties"/&gt;
>                 &lt;param name="algorithm.algorithm" value="MD5"/&gt;
>             &lt;/modified&gt;
>         &lt;/fileset&gt;
>     &lt;/copy&gt;
847,859c847,859
<     &lt;copy todir="dest">
<         &lt;fileset dir="src">
<             &lt;custom 
class="org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector">
<                 &lt;param name="update"     value="true"/>
<                 &lt;param name="seldirs"    value="true"/>
<                 &lt;param name="cache"      value="propertyfile"/>
<                 &lt;param name="algorithm"  value="digest"/>
<                 &lt;param name="comparator" value="equal"/>
<                 &lt;param name="cache.cachefile"     
value="cache.properties"/>
<                 &lt;param name="algorithm.algorithm" value="MD5"/>
<             &lt;/custom>
<         &lt;/fileset>
<     &lt;/copy>
---
>     &lt;copy todir="dest"&gt;
>         &lt;fileset dir="src"&gt;
>             &lt;custom 
> class="org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector"&gt;
>                 &lt;param name="update"     value="true"/&gt;
>                 &lt;param name="seldirs"    value="true"/&gt;
>                 &lt;param name="cache"      value="propertyfile"/&gt;
>                 &lt;param name="algorithm"  value="digest"/&gt;
>                 &lt;param name="comparator" value="equal"/&gt;
>                 &lt;param name="cache.cachefile"     
> value="cache.properties"/&gt;
>                 &lt;param name="algorithm.algorithm" value="MD5"/&gt;
>             &lt;/custom&gt;
>         &lt;/fileset&gt;
>     &lt;/copy&gt;
864,874c864,874
<   &lt;target name="generate-and-upload-site">
<       &lt;echo> generate the site using forrest &lt;/echo>
<       &lt;antcall target="site"/>
< 
<       &lt;echo> upload the changed file &lt;/echo>
<       &lt;ftp server="${ftp.server}" userid="${ftp.user}" 
password="${ftp.pwd}">
<           &lt;fileset dir="htdocs/manual">
<               &lt;modified/>
<           &lt;/fileset>
<       &lt;/ftp>
<   &lt;/target>
---
>   &lt;target name="generate-and-upload-site"&gt;
>       &lt;echo&gt; generate the site using forrest &lt;/echo&gt;
>       &lt;antcall target="site"/&gt;
> 
>       &lt;echo&gt; upload the changed file &lt;/echo&gt;
>       &lt;ftp server="${ftp.server}" userid="${ftp.user}" 
> password="${ftp.pwd}"&gt;
>           &lt;fileset dir="htdocs/manual"&gt;
>               &lt;modified/&gt;
>           &lt;/fileset&gt;
>       &lt;/ftp&gt;
>   &lt;/target&gt;
Index: docs/manual/OptionalTasks/replaceregexp.html
===================================================================
RCS file: /home/cvspublic/ant/docs/manual/OptionalTasks/replaceregexp.html,v
retrieving revision 1.21
diff -r1.21 replaceregexp.html
126c126
< &lt;html>    &lt;body&gt;
---
> &lt;html&gt;    &lt;body&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to