While compiling using Ant, my Java application gives more than 1000 warnings (mainly deprecated API related as this is a legacy code) and it is very difficult to find error message(s) mixed up with thousands of warnings messaged in the log.
I tried suppressing the warnings by passing arguments in Ant javac task, but didn't work.
Is there any options to separate warnings and errors in the log, like all warnings first and then errors?