ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: supressing output
Date Mon, 17 Sep 2007 17:07:56 GMT
Gilbert, That looks pretty cool. Is the code copyrighted? Any chance
this could be added to Ant as a standard feature?

-Rob Anderson


> -----Original Message-----
> From: Gilbert Rebhan [mailto:ant@schillbaer.de] 
> Sent: Thursday, September 13, 2007 10:41 AM
> To: Ant Users List
> Subject: Re: supressing output
> 
> 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
> 
> 
> 


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


Mime
View raw message