> -----Original Message----- > From: Hans Schwaebli [mailto:[EMAIL PROTECTED] > Sent: Monday, 7 August 2006 11:25 PM > To: user@ant.apache.org > Subject: How to silence javac task? > > When I use the javac task, warnings are printed to the console: > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > > Because there are many javac tasks called in my script, > many warnings are printed. These are warnings which are shown > in the CruiseControl web frontend. I don't want them there > because they make it harder to see the really important warnings. > > So how can I get rid of these warnings? How can I influence > javac task not to print anything?
Probably the most productive strategy way would be to remove the underlying causal issue. If that's out of scope then playing around with the javac tasks options could potentially lead you to the elimination of at least some of the messages. Cheers, Steve. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]