ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: Exec task and standard error
Date Mon, 02 Jun 2003 13:48:29 GMT
On Mon, 2 Jun 2003 10:11 pm, Antoine Levy-Lambert wrote:
> Dear David,
> in ant 1.6alpha, there is this possibility.
> You need to specify a filename for error though, even if you do not need
> the error output, otherwise it is included with stdout.
>
> I have tested this one on my PC :
>
> <project name="exec">
> <exec executable="erroroutput.bat" output="test_output" error="NUL" >
> </exec>
> </project>
>
> So if you want to give it a try, download a nightly build.
>

You can also use errorproperty to put the error stream into an Ant property. 
It saves you creating a file. This is also available in Ant 1.6

Conor


Mime
View raw message