Bug 28447

Summary: Unreadable error message from build class path validation
Product: [Eclipse Project] JDT Reporter: Erich Gamma <erich_gamma>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Erich Gamma CLA 2002-12-17 05:11:19 EST
Got the following error message:
Cannot nest entry /ZZTest/src inside entry /ZZTest if entry /ZZTest doesn't 
exclude /ZZTest/src

This is difficult to digest. Suggest the following changes:
1) quote the variable parts of the message 
       Cannot nest entry '/ZZTest/src' ...
2) "entry" shows up all over in the message
3) instead of explaining in detail what is wrong give advise what the user can 
do to avoid the problem. For example:
       Cannot nest '/ZZTest/src' inside '/ZZTest'. 
       To enable the nesting exclude '/ZZTest/src' from '/ZZTest'.
Comment 1 Philipe Mulet CLA 2002-12-17 05:20:23 EST
Ok, please adjust wording (also make other messages consistent).

Also note that the suggested exclusion filter should have a trailing separator.
Comment 2 Jerome Lanneluc CLA 2002-12-17 06:59:43 EST
Changed error message to:
       Cannot nest '/ZZTest/src' inside '/ZZTest'.
       To enable the nesting exclude 'src/' from '/ZZTest'.
Comment 3 David Audel CLA 2002-12-18 10:15:33 EST
Verified.