Community
Participate
Working Groups
The following was seen with Eclipse Mars RC3. If Eclipse is placed into a path that happens to have spaces (e.g., C:\Program Files\Eclipse), Ant fails to launch because the SWT JAR entry in Additional Tasks & Support incorrectly replaces the spaces in the path with %20. This link contains some relevant screenshots (I am not the submitter of the SO question though): http://stackoverflow.com/questions/30529205/eclipse-external-tools-configurations-referenced-library-in-classpath-does-no
Same in RC4! Importance: P3 normal w
(In reply to Martin Wegner from comment #1) > Same in RC4! Importance: P3 normal w Why I can't edit or delete my comments... Same in Eclipse Mars RC4! 'Importance P3 normal' is flattered! It is a blocker bug because 'C:\Program Files\eclipse' is the normal path for Windows Eclipse users...
Looks related to Bug 389564 @Julian, Can you look into this ?
Bug 389564 is related to 4.4.2 but 4.4.2 is not affected by this bug. Target milestone 4.5.1? You can't release Eclipse Mars with this bug!
Fix for Bug 389564 was released in 4.5 M7, This looks like a regression from that fix. 4.5 will be out next week, can't put into that.
Why do you have Release Candidates...?
4.5 Plan : https://www.eclipse.org/eclipse/development/plans/freeze_plan_4_5.php
(In reply to Sarika Sinha from comment #3) > Looks related to Bug 389564 > > @Julian, > Can you look into this ? I will do
New Gerrit change created: https://git.eclipse.org/r/50559
And you really don't want to add this little patch to the release version? Common... :)
(In reply to Eclipse Genie from comment #9) > New Gerrit change created: https://git.eclipse.org/r/50559 Julian, I am getting "!" at the end of swt jar name after this gerrit patch.
*** Bug 471387 has been marked as a duplicate of this bug. ***
(In reply to Sarika Sinha from comment #11) > I am getting "!" at the end of swt jar name after this gerrit patch. Will look into it shortly!
(In reply to Sarika Sinha from comment #11) > I am getting "!" at the end of swt jar name after this gerrit patch. You are right. There was logic to remove "!/" but it didn't catch my single "!" Please see patch set 2
It works fine now. Will appreciate if you can add couple of testcases with "folder name" having white spaces and jars ending with "!" .
Bugzilla created to track the addition of a test case https://bugs.eclipse.org/bugs/show_bug.cgi?id=473315
*** Bug 475093 has been marked as a duplicate of this bug. ***
Julian, I am not able to rebase the gerrit patch as the signed off email id and owner email id is different. It should be same and should be the one with which you ave configured gerrit.
Please, don't forget to implement a unit test.
Created attachment 256011 [details] new bug after eclipse dir moved I tried to create a symbolic link mklink /D C:\Program%20Files "C:\Program Files" but the problem changed, now I have the error that you can see in the attachement. I also moved Eclipse into a directory without space in its name, same problem. Even with a -clean option while launching Eclipse, no changement. Maybe there's something else than the space problem into the name.
(In reply to Laurent Barbareau from comment #20) Your problem doesn't seem to belong in this ticket. Please open a new bug.
New Gerrit change created: https://git.eclipse.org/r/54313
Gerrit change https://git.eclipse.org/r/54313 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.git/commit/?id=46be2993f9d21dbfcfb7661cd0d3a2382a6c6d23
.
Cherry Picked to 4.5.1 as mentioned and tracked in Bug 473315
Verified using Eclipse SDK Version: Mars (4.5.1) Build id: M20150826-1000
*** Bug 476247 has been marked as a duplicate of this bug. ***
Bug still seems to be present as of build 20150924-1200. Tried with Eclipse stored in path with or without spaces in path.
Created attachment 257701 [details] Ant External tools configuration build 20150924-1200
Created attachment 257702 [details] Mars buils 20150924-1200
Fix is available in Mars.1 build, you are facing the problem because your jdk is in "program Files" . Alternative solution is to have JDK under a non spaced directory.
I am using the latest release of Eclipse from the website, the Mars.1 Release, you can see the build number in my other comment. I know that the issue is because the path has space names. I also know the workaround and still think this is a bug that needs to be solved. Is it something that I am missing here? I'm not searching for workarounds, but for a bug fix.
I am not able to reproduce it in Mars.1 release build. I tried it with Eclipse SDK and Eclipse JEE build. Can you attach a sample project with External Configuration ?
After my testing I think it is another upgrade-related bug. I was using the workspace from latest Luna release. As it seems the .launch external tools configuration file format changed between Mars and Luna changed (I have the same file formats side by side). While the change is not quite apparent to me, I know if I delete all the external tools configurations from Luna and recreate them again the bug doesn't manifest itself. Another lesson that I need to learn - document bugs better.