ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject svn commit: r1297130 - /ant/core/trunk/src/etc/testcases/taskdefs/delete.xml
Date Mon, 05 Mar 2012 17:16:57 GMT
Author: jglick
Date: Mon Mar  5 17:16:56 2012
New Revision: 1297130

URL: http://svn.apache.org/viewvc?rev=1297130&view=rev
Log:
DeleteTest.test9 failures in Ant-Build-Matrix caused by spaces in workspace path.
(<files includes="${dir}/**"/> is parsed as multiple items.)

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/viewvc/ant/core/trunk/src/etc/testcases/taskdefs/delete.xml?rev=1297130&r1=1297129&r2=1297130&view=diff
==============================================================================
--- ant/core/trunk/src/etc/testcases/taskdefs/delete.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/delete.xml Mon Mar  5 17:16:56 2012
@@ -25,7 +25,7 @@
     <attribute name="target" default="${dir}"/>
     <sequential>
       <fileset id="detritus" dir="@{target}" erroronmissingdir="false"/>
-      <fail message="${toString:detritus}">
+      <fail message="@{target} still has: ${toString:detritus}">
         <condition>
           <available file="@{target}" />
         </condition>
@@ -116,7 +116,9 @@
 
   <target name="test9" depends="init">
     <delete>
-      <files includes="${dir}/**" />
+      <files>
+          <include name="${dir}/**"/>
+      </files>
     </delete>
     <expectabsent />
   </target>



Mime
View raw message