ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r896829 - /ant/core/trunk/src/tests/antunit/types/resources/resourcelist-test.xml
Date Thu, 07 Jan 2010 10:10:23 GMT
Author: bodewig
Date: Thu Jan  7 10:09:47 2010
New Revision: 896829

URL: http://svn.apache.org/viewvc?rev=896829&view=rev
Log:
follow Jesse's suggestion and use ant.core.lib - make testBasicOperation platform independent

Modified:
    ant/core/trunk/src/tests/antunit/types/resources/resourcelist-test.xml

Modified: ant/core/trunk/src/tests/antunit/types/resources/resourcelist-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/types/resources/resourcelist-test.xml?rev=896829&r1=896828&r2=896829&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/types/resources/resourcelist-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/types/resources/resourcelist-test.xml Thu Jan  7 10:09:47
2010
@@ -30,7 +30,8 @@
   <target name="testBasicOperation" depends="setUp">
     <echo file="${input}/a.txt">${input}/b.txt
 ${input}/c.txt</echo>
-    <au:expectfailure expectedmessage="Could not find resource file &quot;${input}/c.txt&quot;">
+    <property name="c" location="${input}/c.txt"/>
+    <au:expectfailure expectedmessage="Could not find resource file &quot;${c}&quot;">
       <copy todir="${output}" flatten="true">
         <resourcelist>
           <file file="${input}/a.txt"/>
@@ -91,7 +92,8 @@
   </target>
 
   <target name="testReadsURLs" depends="setUp">
-    <echo file="${input}/a.txt">jar:file:${ant.home}/lib/ant.jar!/org/apache/tools/ant/antlib.xml</echo>
+    <makeurl file="${ant.core.lib}" property="ant.jar"/>
+    <echo file="${input}/a.txt">jar:${ant.jar}!/org/apache/tools/ant/antlib.xml</echo>
     <copy todir="${output}" flatten="true">
       <resourcelist>
         <file file="${input}/a.txt"/>



Mime
View raw message