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>
- <typedef name="date" classname="org.apache.tools.ant.types.resources.comparators.Date"/>
- <copy todir="${to.dir}" flatten="true">
- <first count="2">
+ <typedef name="date" classname="org.apache.tools.ant.types.resources.comparators.Date"/>
+ <copy todir="dest" flatten="true">
+ <first count="2">
<sort>
- <date/>
+ <date xmlns="antlib:org.apache.tools.ant.types.resources.comparators"/>
<resources>
- <file file="${from.dir}/file1.txt"/>
- <file file="${from.dir}/file2.txt"/>
- <file file="${from.dir}/file3.txt"/>
- <url url="http://ant.apache.org/index.html"/>
+ <file file="src_dir/file1.txt"/>
+ <file file="src_dir/file2.txt"/>
+ <file file="src_dir/file3.txt"/>
+ <url url="http://ant.apache.org/index.html"/>
</resources>
</sort>
</first>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org