ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8031] - [PATCH] Suggest ProjectHelperImpl use File.toURI().toURL().toExternalForm()
Date Fri, 16 Dec 2005 06:43:34 GMT
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


Mime
View raw message