From 7a806d447f83a787a2bb82aa6c94559f11cf1ce6 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Sun, 30 Oct 2005 12:35:32 +0000 Subject: [PATCH] Mask quotes. Dont use properties in the example. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@329554 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/copy.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/manual/CoreTasks/copy.html b/docs/manual/CoreTasks/copy.html index fe4b76c32..acd8f7189 100644 --- a/docs/manual/CoreTasks/copy.html +++ b/docs/manual/CoreTasks/copy.html @@ -248,16 +248,16 @@ destination directory, flattening the directory structure.

Copies the two newest resources into a destination directory.

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