| Summary: | Can't add a project path variable that points to a root of a drive. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Serge Beauchamp <serge> | ||||||
| Component: | Resources | Assignee: | Serge Beauchamp <serge> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | pwebster | ||||||
| Version: | 3.7 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | stalebug | ||||||||
| Attachments: |
|
||||||||
|
Description
Serge Beauchamp
The root cause of this bug is because doing
new Path("C:"
isn't the same as doing
new Path("C:\"
and, in the first case, will return false for Path.isAbsolute().
Created attachment 195820 [details]
Path in core.resources
He's a fix in the core.resources
Created attachment 195821 [details]
Fix in the ui.ide
(In reply to comment #3) > Created attachment 195821 [details] > Fix in the ui.ide Just a comment. We use org.eclipse.jface.util.Util.isWindows() or isWin32() in ui.workbench and ui.ide. PW 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. If the bug is still relevant, please remove the "stalebug" whiteboard tag. |