ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java
Date Fri, 10 Aug 2001 15:11:22 GMT
bodewig     01/08/10 08:11:22

  Modified:    src/testcases/org/apache/tools/ant/util Tag: ANT_14_BRANCH
                        FileUtilsTest.java
  Log:
  Make FileUtilsTest pass when using Cygnus.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.1   +2 -1      jakarta-ant/src/testcases/org/apache/tools/ant/util/FileUtilsTest.java
  
  Index: FileUtilsTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/util/FileUtilsTest.java,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- FileUtilsTest.java	2001/08/08 16:13:08	1.2
  +++ FileUtilsTest.java	2001/08/10 15:11:21	1.2.2.1
  @@ -77,7 +77,8 @@
   
       public void setUp() {
           fu = FileUtils.newFileUtils();
  -        root = new File(File.separator).getAbsolutePath();
  +        // Windows adds the drive letter in uppercase, unless you run Cygnus
  +        root = new File(File.separator).getAbsolutePath().toUpperCase();
       }
   
       public void tearDown() {
  
  
  

Mime
View raw message