Community
Participate
Working Groups
Build 20021218 In the build path property of project P1, if you enter a path to another project (e.g. P2/bin), you get an error message that just says 'P2/bin'.
BuildPathsBlock.updateBuildPathStatus() should use IJavaModelStatus.getMessage () instead of IJavaModelStatus.getString().
Note that I recently changed from IJavaModelStatus.getMessage() to IJavaModelStatus.getString() because getMessage gives an unspecific message like 'Name collision.' I just checked in 200212, it still seems to be the case. I agree that that getMessage() should be used, and changed back. (> 20030107) Can you please make sure that getMessage is at least as good getString()? Maybe to get rid of the confusion getMessage could return the same as getString (deprecate getString?)
Name collision sounds counter intuitive, we should improve this message anyway. Suggestion for matching #getString behavior is interesting too.
Deprecated getString() and changed getMessage() to use the string in the case of NAME_COLLISION. Updated ClasspathTests.testDuplicateEntries() to reflect this change.
*** Bug 30470 has been marked as a duplicate of this bug. ***
Verified.