ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Bugs in release branch
Date Mon, 29 Oct 2007 10:52:35 GMT
Jesse Glick wrote:
> Kevin Jackson wrote:
>> LocatorTest.testNetworkURI   
>> file:\\PC03\jclasses\lib\ant-1.7.0.jar
> This is not a syntactically valid URI, I think.
>> LocatorTest.testUnixNetworkPath   
>> file://cluster/home/ant/lib
> This is probably illegal too; AFAIK the host field is meaningless for a 
> file-protocol URL.

I wrote these tests. I seem to recall the whole area being a big source 
of trouble. hostnames are valid in some URLs (think nfs), but the uri 
handler in the JVM made a mess of them. This was stopping people running 
ant off a fileshare

>> LocatorTest.testUnixPath
>> Expected file:/home/ant/lib to resolve to /home/ant/lib but got 
>> D:\home\ant\lib
>> expected:<[/home/ant/]lib> but was:<[D:\home\ant\]lib>
> Doesn't look like a bug to me, looks correct, assuming you are running 
> on a Windows machine. Same for the subsequent failures.
> -J.

Steve Loughran        
Author: Ant in Action 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message