Summary: | Unclear error message for invalid output folder | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jerome Lanneluc <jerome_lanneluc> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | martinae |
Version: | 2.0 | ||
Target Milestone: | 2.1 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Jerome Lanneluc
2002-12-19 07:10:28 EST
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. |