ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Abley <james.ab...@volantis.com>
Subject Re: How to silence javac task?
Date Tue, 15 Aug 2006 07:46:47 GMT
I run 1.6.5 and haven't looked in SVN to see if it's on the roadmap, but 
would enhancing <javac /> to support I/O redirectors [1] be of any use here?

Cheers,

James

[1] http://ant.apache.org/manual/CoreTypes/redirector.html

Dominique Devienne wrote:
>> So 2. and 3. are _always_ logged irrespective of used loglevel
>> it's like using System.out and setloglevel has no impact.
> 
> No true ;-) log without an explicit log level uses INFO level, so
> setting log level to WARN hides these messages, just like when running
> Ant in quiet mode (-q).
> 
> The Javac messages are read by the stream pumper threads, and
> forwarded to the default logger. You need to replace the default
> logger with a custom one that filters out some messages and not
> others. Possible, but requires programming... --DD
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message