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:[EMAIL PROTECTED] 
> 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: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to