Bug 96648

Summary: Batch compiler - error messages for duplicate output, bootclasspath, sourcepath and extdirs entries could be more explicit
Product: [Eclipse Project] JDT Reporter: Maxime Daniel <maxime_daniel>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.1   
Target Milestone: 3.2 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Maxime Daniel CLA 2005-05-25 13:16:21 EDT
As of M7, the message for a duplicate output directory argument would be:
duplicate output path specification: -d
A more complete message, including the faulty argument, would be more useful.
For example,
-d bin1 -d bin2 
would yield:
duplicate output path specification: -d bin2
The options cited in the summary are candidates for the same improvement.
Comment 1 Olivier Thomann CLA 2006-03-31 12:51:15 EST
Trivial to fix.
Comment 2 Olivier Thomann CLA 2006-03-31 12:51:41 EST
The duplicate entry would be reported.
Comment 3 Olivier Thomann CLA 2006-04-04 16:19:54 EDT
Fixed and released in HEAD.
Updated existing test in BatchCompilerTests.
Comment 4 David Audel CLA 2006-04-13 10:14:30 EDT
Verified for 3.2 RC1 using build I20060413-0010