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

Reply via email to