Say you have a drive letter name that is "C:".
new File("C:\toto").getCanonicalPath() will return "C:\toto"
To get the current project basedir SQ Runner is doing new File(".").getAbsolutePath(). The result depends on the value of System property "user.dir". It seems that this value can sometimes be incorrectly changing case of drive letters and will return "c:\toto".
It will break in many SQ locations but one in particular is FileSystem.inputFile(predicate.absolutePath("C:\toto\titi.java"))
I see several option to be tried:
- SQ Runner should sanitize user.dir by calling getCanonicalPath
- Try if new Path API of Java 7 may help
- Compare paths using File