You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2005/10/30 13:35:36 UTC

svn commit: r329554 - /ant/core/trunk/docs/manual/CoreTasks/copy.html

Author: jhm
Date: Sun Oct 30 04:35:32 2005
New Revision: 329554

URL: http://svn.apache.org/viewcvs?rev=329554&view=rev
Log:
Mask quotes. Dont use properties in the example.

Modified:
    ant/core/trunk/docs/manual/CoreTasks/copy.html

Modified: ant/core/trunk/docs/manual/CoreTasks/copy.html
URL: http://svn.apache.org/viewcvs/ant/core/trunk/docs/manual/CoreTasks/copy.html?rev=329554&r1=329553&r2=329554&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/copy.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/copy.html Sun Oct 30 04:35:32 2005
@@ -248,16 +248,16 @@
 
 <p><b>Copies the two newest resources into a destination directory.</b></p>
 <pre>
-  &lt;typedef name="date" classname="org.apache.tools.ant.types.resources.comparators.Date"/&gt;
-  &lt;copy todir="${to.dir}" flatten="true"&gt;
-    &lt;first count="2"&gt;
+  &lt;typedef name=&quot;date&quot; classname=&quot;org.apache.tools.ant.types.resources.comparators.Date&quot;/&gt;
+  &lt;copy todir=&quot;dest&quot; flatten=&quot;true&quot;&gt;
+    &lt;first count=&quot;2&quot;&gt;
       &lt;sort&gt;
-        &lt;date/&gt;
+        &lt;date xmlns=&quot;antlib:org.apache.tools.ant.types.resources.comparators&quot;/&gt;
         &lt;resources&gt;
-          &lt;file file="${from.dir}/file1.txt"/&gt;
-          &lt;file file="${from.dir}/file2.txt"/&gt;
-          &lt;file file="${from.dir}/file3.txt"/&gt;
-          &lt;url url="http://ant.apache.org/index.html"/&gt;
+          &lt;file file=&quot;src_dir/file1.txt&quot;/&gt;
+          &lt;file file=&quot;src_dir/file2.txt&quot;/&gt;
+          &lt;file file=&quot;src_dir/file3.txt&quot;/&gt;
+          &lt;url url=&quot;http://ant.apache.org/index.html&quot;/&gt;
         &lt;/resources&gt;
       &lt;/sort&gt;
     &lt;/first&gt;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org