ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r358117 - /ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/TraXLiaisonTest.java
Date Wed, 21 Dec 2005 05:03:05 GMT
On Tue, 20 Dec 2005, Antoine Levy-Lambert <antoine@gmx.de> wrote:

> 2) what worries me is that what we now get by calling
> FileUtils.toURI seems to start with file:/// under JDK 1.5 and
> file:/ under JDK 1.4.  Is this good or bad ? or indifferent ? Not
> sure. Jesse Glick wrote [1] that file URIs should start with file:/
> . the extra double slash being not needed.

file is a hierarchical URL protocol, so in general it takes the form
file://host/path, the three slash form is the special case of host
being localhost.  It may be true that the Java runtime doesn't need
three slashes, but I'm not sure this applies to file URLs in general.

Stefan

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


Mime
View raw message