ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Schwaebli <>
Subject How to silence javac task?
Date Mon, 07 Aug 2006 13:54:48 GMT
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?

See the all-new, redesigned  Check it out.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message