ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject svn commit: r1297192 - /ant/core/trunk/src/etc/testcases/taskdefs/manifestclasspath.xml
Date Mon, 05 Mar 2012 19:36:30 GMT
Author: jglick
Date: Mon Mar  5 19:36:30 2012
New Revision: 1297192

URL: http://svn.apache.org/viewvc?rev=1297192&view=rev
Log:
Ant-Build-Matrix failure (also local on XP): "Jar's directory not found: C:\Temp".

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

Modified: ant/core/trunk/src/etc/testcases/taskdefs/manifestclasspath.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/etc/testcases/taskdefs/manifestclasspath.xml?rev=1297192&r1=1297191&r2=1297192&view=diff
==============================================================================
--- ant/core/trunk/src/etc/testcases/taskdefs/manifestclasspath.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/manifestclasspath.xml Mon Mar  5 19:36:30 2012
@@ -218,19 +218,21 @@
     </target>
 
   <target name="testSameDrive">
-    <manifestclasspath jarfile="C:/Temp/e.jar"
+    <property name="temp" location="${java.io.tmpdir}"/>
+    <manifestclasspath jarfile="${temp}\e.jar"
                        maxParentLevels="99" property="cp">
       <classpath>
-        <pathelement location="C:/a/b/x.jar"/>
+        <pathelement location="${temp}\..\a\b\x.jar"/>
       </classpath>
     </manifestclasspath>
   </target>
 
   <target name="testDifferentDrive">
-    <manifestclasspath jarfile="C:/Temp/e.jar"
+    <property name="temp" location="${java.io.tmpdir}"/>
+    <manifestclasspath jarfile="${temp}\e.jar"
                        maxParentLevels="99" property="cp">
       <classpath>
-        <pathelement location="D:/a/b/x.jar"/>
+        <pathelement location="D:\a\b\x.jar"/>
       </classpath>
     </manifestclasspath>
   </target>



Mime
View raw message