| Summary: | [JUnit] Having a plus sign in Eclipse's path causes JUnit libraries to be "not found" | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Hosam Aly <hosamaly6> |
| Component: | UI | Assignee: | Markus Keller <markus.kell.r> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | amj87.iitr, deepakazad |
| Version: | 3.8 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | stalebug | ||
Moving to JDT/UI. Most likely a duplicate of bug 364628. (In reply to comment #2) > Most likely a duplicate of bug 364628. I don't really think it's a duplicate. Fixing the other bug is likely to fix this one, but I think both should be subject to tests. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Build Identifier: M20110909-1335 If a plus sign ('+') exists in Eclipse's path (e.g. "C:\Apps\Eclipse\3.7+SDK\eclipse.exe"), projects having JUnit in their classpath get compilation errors, because JUnit's (container) libraries are not found, even though they exist in the ".classpath" file. Trying to add the library again by opening the project's build path preferences page and choosing to add library, then JUnit, shows JUnit libraries as "not found". The problem is that this issue is subtle and it's very hard to spot what the error is, especially that no errors are thrown. This is related to bug #364628. Reproducible: Always Steps to Reproduce: 1. Rename the Eclipse folder to a name containing a plus sign ('+'), e.g. "C:\Apps\Eclipse+SDK". 2. Open a workspace containing a project that has JUnit added to it, using the following entry in the ".classpath" file: > <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> 3. Try to add the JUnit library to the project's build path.