ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <>
Subject Re: Exec task and standard error
Date Mon, 02 Jun 2003 12:11:25 GMT
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" >

So if you want to give it a try, download a nightly build.


----- Original Message -----
From: "David Clements" <>
To: "'Ant Users List'" <>
Sent: Saturday, May 31, 2003 2:14 AM
Subject: Exec task and standard error

> I am looking for a way to run either a java task or an exec task and only
capture standard out. I want to
> completely disregard standard error.
> Is there a way to do this?
> Dave
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message