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=39295>. 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=39295 ------- Additional Comments From [EMAIL PROTECTED] 2006-04-24 09:20 ------- I saw the last changes related to this bug - unfortunately they didn't fix it at all :-( I've made the test and it looked the same as previously... but they give us one advantage - now we need to change one line only to make this working properly. Launcher.java[line#272("baseClassPath.append(Locator.fromURI(jars[i].toString()));)"] to: ************ FIX ******************** "baseClassPath.append(jars[i].toString());" ************ FIX ******************** _______________________________________________________________________________ Since the paths of "jars" have been already encoded in addPath(..) we cannot do this once again here... _______________________________________________________________________________ Result of the test with the version from repository: //----------------------------------------------------- C:\Program Files\tools test 2\ant\bin>ant java.lang.IllegalArgumentException at java.net.URI.create(URI.java:842) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:160) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:272) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:100) Caused by: java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/Java/jdk1.5.0_05/lib/tools.jar at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parseHierarchical(URI.java:3066) at java.net.URI$Parser.parse(URI.java:3014) at java.net.URI.<init>(URI.java:578) at java.net.URI.create(URI.java:840) //----------------------------------------------------- .. and after my change: //----------------------------------------------------- C:\Program Files\tools test 2\ant\bin>ant Buildfile: build.xml [echo] [windir] : C:\WINDOWS [echo] [temp.dir] : C:\WINDOWS\temp test: [echo] splash: file:///C:\Program Files/tools test 2/ant/images/winzip.jpg [echo] 10:57:27 AM [exec] Result: 1 BUILD SUCCESSFUL Total time: 7 seconds //----------------------------------------------------- I hope it will not harm the processing on the other OSes. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]