Community
Participate
Working Groups
-- Error Log -- Date: Sun May 20 16:30:20 CEST 2007 Message: BUILD FAILED Severity: Error Plugin ID: org.eclipse.ant.core Stack Trace: java.lang.IllegalArgumentException at java.net.URI.create(URI.java:842) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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:162) at org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:119) at org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90) at org.apache.tools.ant.Project.setAntLib(Project.java:313) at org.apache.tools.ant.Project.initProperties(Project.java:309) at org.apache.tools.ant.Project.init(Project.java:295) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:520) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:456) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.ant.core.AntRunner.run(AntRunner.java:377) at org.eclipse.pde.internal.core.exports.FeatureExportOperation.cleanup(FeatureExportOperation.java:579) at org.eclipse.pde.internal.core.exports.FeatureExportOperation.run(FeatureExportOperation.java:143) at org.eclipse.pde.internal.ui.build.FeatureExportJob.run(FeatureExportJob.java:59) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.net.URISyntaxException: Illegal character in path at index 13: file:/weitere Programme/eclipse33rc1/plugins/org.apache.ant_1.7.0.v200704241635/lib/ant.jar at java.net.URI$Parser.fail(URI.java:2816) at java.net.URI$Parser.checkChars(URI.java:2989) at java.net.URI$Parser.parseHierarchical(URI.java:3073) at java.net.URI$Parser.parse(URI.java:3021) at java.net.URI.<init>(URI.java:578) at java.net.URI.create(URI.java:840) ... 21 more
Hi, Ifound a woarkaround. If I change my folder "weitere Programme" to "weitereProgramme" (removing the space) I can export the feature. If look like ANT 1.7 hase problems with spaces in path arguments. With ANT 1.6.5 (used with 3.3M6) i can work with "weitere Programme"
Thank you for the bug report. We have worked on this issue for 3.3 RC1 (see bug 183283). Are you sure that you are using Eclipse RC1? Help> About Eclipse SDK What is the Build id?
(In reply to comment #2) > Thank you for the bug report. > > We have worked on this issue for 3.3 RC1 (see bug 183283). > > Are you sure that you are using Eclipse RC1? > Help> About Eclipse SDK > What is the Build id? > My Version is 3.3.0 with Build id: I20070517-1700
Kim, if you have a minute, would you mind trying this on your Mac with any build from this week? Darin and I are unable to reproduce it, but perhaps it is a Mac-specific problem. Here are the steps to try: 1) File > New > Project... > Plugin Project 2) Give it any name, and uncheck "use default location". Give it a location containing spaces in the path. 3) Click next, click finish. 4) Right click the project > Export > Deployable plugins and fragments. 5) Pick any location and click finish.
That testcase worked for me John
Thanks for checking guys...and just to insure...can you try the same test case with Eclipse installed in a location with spaces in the path?.
Darin: if I move Eclipse to a directory with a space in the name I see the problem described.
Thanks. Investigating.
Created attachment 68629 [details] screencap as requested
Unfortunately the workaround introduced for bug 183283 only works for Windows due to the different representations of paths. I see no way to programmatically work around the Ant bug (http://issues.apache.org/bugzilla/show_bug.cgi?id=42222) in this case. The workaround is to not install in a location with spaces.
Section added to the known issues of the Eclipse readme via bug 185753. The bug is fixed for Ant 1.7.1. Hopefully it will ship to be released with Eclipse 3.3.1.
*** Bug 193119 has been marked as a duplicate of this bug. ***
*** Bug 193833 has been marked as a duplicate of this bug. ***
*** Bug 189387 has been marked as a duplicate of this bug. ***
Still waiting on Ant 1.7.1
Ant 1.7.1 has been rolled up into our Apache Ant plug-in and will be in the integration build of this week. Can someone with a Mac please ensure this problem is fixed in 1.7.1? Thanks.
(In reply to comment #16) > Ant 1.7.1 has been rolled up into our Apache Ant plug-in and will be in the > integration build of this week. > > Can someone with a Mac please ensure this problem is fixed in 1.7.1? Thanks. > I did a test with 3.5 I20080724-1200 and it works like expected (no error anymore). Tested on a MacBook Pro running Mac OS X 10.5.4
Thank you Frank
*** Bug 288186 has been marked as a duplicate of this bug. ***