Bug 10047 - JDTCompilerAdapter ignores -nowarn and deprecation off.
Summary: JDTCompilerAdapter ignores -nowarn and deprecation off.
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 F2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 10024 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-02-21 07:32 EST by John Landers CLA
Modified: 2002-06-03 07:11 EDT (History)
1 user (show)

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-21 07:32:48 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:17:57 EST
Moving to Platform/Ant for investigation.
Comment 2 DJ Houghton CLA 2002-02-22 12:26:10 EST
*** Bug 10024 has been marked as a duplicate of this bug. ***
Comment 3 Rodrigo Peretti CLA 2002-05-17 11:21:13 EDT
PDE Build does not provide a compiler adapter anymore. The compiler adapter 
provided by JDT Core (org.eclipse.jdt.core.JDTCompilerAdapter) fixes these 
problems. Moving to JDT Core for closure.
Comment 4 Philipe Mulet CLA 2002-05-21 11:14:07 EDT
Closing
Comment 5 Jerome Lanneluc CLA 2002-06-03 07:11:13 EDT
Verified