You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/12/16 07:43:34 UTC

DO NOT REPLY [Bug 8031] - [PATCH] Suggest ProjectHelperImpl use File.toURI().toURL().toExternalForm()

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=8031>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=8031





------- Additional Comments From antoine@apache.org  2005-12-16 07:43 -------
Patches submitted, thanks. 
Note that toURI is implemented with java.net.URI.toASCIIString(), otherwise the
non ascii characters are not properly % escaped.
I have also had to do some small changes for the FileUtilsTest.

fromURI("file:///foo") ==> C:\foo
before it was \foo

Actually, this creates an inconsistency in the behavior of Ant between
ant running on JDK 1.2 or 1.3 and Ant running on JDK 1.4 or 1.5.

This should be fixed in the implemetation of fromURI.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

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