ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject java.io.File behavior on Windows / DirectoryScanner
Date Sat, 19 Jul 2003 16:25:35 GMT
A little test illustrating the problem :

public class testfilename {
    public static void main(String [] args){
        File f = new File("C:/dev/asf/ANT");
        File b = new File(f, "BuIld.xml");
        System.out.println(f.toString());
        System.out.println(b.toString());
    }
}

Output

C:\dev\asf\ANT
C:\dev\asf\ANT\BuIld.xml

Real directory/file name 

C:\dev\asf\ant
C:\dev\asf\ant\build.xml

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message