ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r773568 - /ant/core/trunk/src/tests/antunit/taskdefs/copy-test.xml
Date Mon, 11 May 2009 14:06:02 GMT
Author: bodewig
Date: Mon May 11 14:06:02 2009
New Revision: 773568

URL: http://svn.apache.org/viewvc?rev=773568&view=rev
Log:
tests for PR 47168

Modified:
    ant/core/trunk/src/tests/antunit/taskdefs/copy-test.xml

Modified: ant/core/trunk/src/tests/antunit/taskdefs/copy-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/copy-test.xml?rev=773568&r1=773567&r2=773568&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/copy-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/copy-test.xml Mon May 11 14:06:02 2009
@@ -116,4 +116,26 @@
                          actual="${output}/bar.txt"/>
   </target>
 
+  <target name="testIncludeEmptyDirsDefaultsToTrue"
+          description="https://issues.apache.org/bugzilla/show_bug.cgi?id=47168">
+    <mkdir dir="${input}/foo"/>
+    <mkdir dir="${output}"/>
+    <copy todir="${output}">
+      <fileset dir="${input}"/>
+    </copy>
+    <au:assertFileExists file="${output}/foo"/>
+  </target>
+
+  <target name="XtestIncludeEmptyDirsAndZipfileset"
+          description="https://issues.apache.org/bugzilla/show_bug.cgi?id=47168">
+    <mkdir dir="${input}/foo"/>
+    <mkdir dir="${output}/final"/>
+    <zip destfile="${output}/zipfile.zip">
+      <fileset dir="${input}"/>
+    </zip>
+    <copy todir="${output}/final">
+      <zipfileset src="${output}/zipfile.zip"/>
+    </copy>
+    <au:assertFileExists file="${output}/final/foo"/>
+  </target>
 </project>



Mime
View raw message