ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Kramer <Douglas.Kra...@Sun.COM>
Subject Ant: Redirect output to both screen and log file
Date Sat, 29 Jan 2005 16:46:30 GMT
When I use <exec> and specify output, all the output is redirected
from the display to the log file.

    <exec dir="." executable="java" output="build.log">

I want to be able to also view the output as it runs.
Is there any way to send both standard out and standard error
simultaneously to both a log file and the display?

I'm basically looking for the equivalent to the csh "tee" command:

% cmd |& tee log


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message