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 http://www.1060.org/blogxter/publish/5
Author: Ant in Action http://antbook.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]