Browse Source

fix error in testDifferentDrive under Windows @ jetbrains

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1447559 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 12 years ago
parent
commit
ef9d85e593
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      src/etc/testcases/taskdefs/manifestclasspath.xml
  2. +1
    -1
      src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java

+ 2
- 1
src/etc/testcases/taskdefs/manifestclasspath.xml View File

@@ -229,10 +229,11 @@

<target name="testDifferentDrive">
<property name="temp" location="${java.io.tmpdir}"/>
<!-- the property altDriveLetter gets defined in Java -->
<manifestclasspath jarfile="${temp}\e.jar"
maxParentLevels="99" property="cp">
<classpath>
<pathelement location="D:\a\b\x.jar"/>
<pathelement location="${altDriveLetter}:\a\b\x.jar"/>
</classpath>
</manifestclasspath>
</target>


+ 1
- 1
src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java View File

@@ -194,7 +194,7 @@ public class ManifestClassPathTest
+ " skipping test");
return;
}
project.setProperty("altDriveLetter", altDriveLetter);
expectBuildExceptionContaining("testDifferentDrive",
"different drive",
"No suitable relative path from ");


Loading…
Cancel
Save