Bug 10024 - JDTCompilerAdapter ignores -nowarn and deprecation off.
Summary: JDTCompilerAdapter ignores -nowarn and deprecation off.
Status: RESOLVED DUPLICATE of bug 10047
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-20 15:39 EST by John Landers CLA
Modified: 2002-02-22 12:26 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Landers CLA 2002-02-20 15:39:04 EST
In the source file JDTCompilerAdapter after checking all the options
from ant it then specifically adds in all the warn options.
"-warn:contructorName,packageDefaultMethod,maskedCatchBlocks,deprecation".

If a nowarn option is passed in from ant javac element these should
not be turned on.
-nowarn in the Eclipse compiler states it is equivalent to -warn:non.

This would make it possible to build with ant without warnings. 
I know about deprecation already in our source code.

thanks,

jcl.
Comment 1 DJ Houghton CLA 2002-02-22 12:26:10 EST

*** This bug has been marked as a duplicate of 10047 ***