Summary: | Cannot create type X in project Test if d:\test\X.java exists | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jerome Lanneluc <jerome_lanneluc> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | aldo_eisma |
Version: | 2.0 | ||
Target Milestone: | 2.1 M1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Jerome Lanneluc
2002-08-19 07:13:06 EDT
JavaModel.getTarget(IContainer, IPath, boolean) returns true if container is workspace root, and path is '/Test/X.java'. Bug already existed in 2.0 Changed getTarget() to consider that a relative path is only internal and changed resourceExists() to make the path relative except in the case of an external package fragment root. *** Bug 22942 has been marked as a duplicate of this bug. *** Verified. |