ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Kruithof ...@kruithof.xs4all.nl>
Subject Re: FileUtils.normalize
Date Sat, 19 Feb 2005 15:10:23 GMT
Matt Benson wrote:

>FileUtils.resolveFile claims to return absolute files;
>however calling FileUtils.resolveFile(null, "\\") on
>DOS returns the non-absolute File "\\".  So we lie. 
>:)
>
>-Matt
>  
>

No file on windows is allowed to have \ in the name, so \\ would not be a
valid file on dos at all (so not a non-absolute one, but none at all).

Martijn

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message