ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r280657 - /ant/core/trunk/src/etc/testcases/taskdefs/delete.xml
Date Tue, 13 Sep 2005 21:07:40 GMT
Author: mbenson
Date: Tue Sep 13 14:07:35 2005
New Revision: 280657

URL: http://svn.apache.org/viewcvs?rev=280657&view=rev
Log:
update with depends and copy instead of copydir

Modified:
    ant/core/trunk/src/etc/testcases/taskdefs/delete.xml

Modified: ant/core/trunk/src/etc/testcases/taskdefs/delete.xml
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/etc/testcases/taskdefs/delete.xml?rev=280657&r1=280656&r2=280657&view=diff
==============================================================================
--- ant/core/trunk/src/etc/testcases/taskdefs/delete.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/delete.xml Tue Sep 13 14:07:35 2005
@@ -6,15 +6,18 @@
     <delete/>
   </target>
 
-  <target name="test2">
-    <copydir src="." 
-             dest="taskdefs.tmp"/>
+  <target name="init">
+    <mkdir dir="taskdefs.tmp" />
+    <copy todir="taskdefs.tmp">
+      <fileset dir="." excludes="taskdefs.tmp,taskdefs.tmp/**" />
+    </copy>
+  </target>
+
+  <target name="test2" depends="init">
     <delete file="taskdefs.tmp"/>
   </target>
 
-  <target name="test4">
-    <copydir src="." 
-             dest="taskdefs.tmp"/>
+  <target name="test4" depends="init">
     <delete dir="taskdefs.tmp"/>
   </target>
 



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


Mime
View raw message