| Summary: | plug-in export fails when there are spaces on ant.jar path | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | theone256 |
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | pombredanne |
| Version: | 3.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
sounds like a known problem in some of the Ant versions. I thought it had been addressed. Might need to follow up with the Ant team. This has been addressed in RC1 by the eclipse ant support. see bug#193833 and bug#187993 . The problem is not solved. This impact pde exports in a major way imho :-) and the ant bug was shipped with 3.3 final still a problem *** This bug has been marked as a duplicate of bug 187993 *** |
Build ID: I20070525-1350 Steps To Reproduce: 1:Install eclipse in a directory with spaces (ex:"~/eclipse 3.3/") 2:Create a plug-in. 3:Try to export this plug-in 4:Build fails More information: If there are spaces on the path to ant.jar in the org.apache.ant plug-in, then plug-in export fails with an error message ("BUILD FAILED"). The logged exception is: 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:597) 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:597) 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.FeatureBasedExportOperation.run(FeatureBasedExportOperation.java:55) 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 30: file:/home/nicolas/bin/eclipse 3.3RC2/plugins/org.apache.ant_1.7.0.v200705232135/lib/ant.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) ... 21 more