ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r918096 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java
Date Tue, 02 Mar 2010 16:05:36 GMT
Author: bodewig
Date: Tue Mar  2 16:05:35 2010
New Revision: 918096

URL: http://svn.apache.org/viewvc?rev=918096&view=rev
Log:
using JDK 1.6 on Windows D:\ has a valid canonical path even if the drive is not ready

Modified:
    ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java

Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java?rev=918096&r1=918095&r2=918096&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java
(original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java
Tue Mar  2 16:05:35 2010
@@ -168,7 +168,7 @@
             System.out.println("Test with drive letters only run on windows");
         } else {
             try {
-                new java.io.File("D:/").getCanonicalPath();
+                new java.io.File("D:/foo.txt").getCanonicalPath();
             } catch (java.io.IOException e) {
                 System.out.println("drive d: doesn't exist or is not ready,"
                                    + " skipping test");



Mime
View raw message