Community
Participate
Working Groups
When I have a build.xml with a target, that has 'deprecation=off' declared inside the <javac>-task, nevertheless detailed deprecation warnings are displayed when I use the internal Eclipse compiler (property build.compiler set to "org.eclipse.org.eclipse.jdt.core.JDTCompilerAdapter"). So: the result is the same with 'deprecation=on' and 'deprecation=off', but it should be different. Using the "normal" javac-Compiler, when using 'deprecation=off' only a short warning at the end of the compilation is shown, that informs that some sources used deprecated API's. Only when using the Option -deprecation (which is only used by setting 'deprecation=on'), detailed information is shown about it.
The Eclipse batch compiler doesn't have exactly the same "-deprecation" option than javac. The best I can do is completely remove the deprecation warning when deprecation="off" and put it back when deprecation="on". That would be fine for you? If yes, I have a fix ready for next integration build.
This fix would be fine for me. Thank you!
Fixed and released in 2.1 stream.
We should backport it to 2.0.2 stream.
Backported to 2.0.2 stream.
Verified.