ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <...@schillbaer.de>
Subject Re: supressing output
Date Thu, 13 Sep 2007 17:40:52 GMT
Hi,

phil swenson wrote:
> I have an external build.xml file that I am calling from my build.xml...
> unfortunately this target outputs a whole bunch of stuff I don't care about
> and it pollutes my build log files.  What I want is just error output...
> anyone have any thoughts on supressing the output?
> 
> thanks
> phil

You could use the <setloglevel> task, see

http://marc.info/?l=ant-user&m=115504180503962&w=2

and set the loglevel to error before starting your
external build =

<setloglevel level="error"/>
<ant antfile="subdir/external.xml"
      dir="subdir"
      target="foobar"
/>

Regards, Gilbert



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


Mime
View raw message