ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell \(DPML\)" <mcconn...@apache.org>
Subject RE: How to silence javac task?
Date Mon, 07 Aug 2006 14:09:40 GMT
 

> -----Original Message-----
> From: Hans Schwaebli [mailto:hans_schwaebli@yahoo.com] 
> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message