Matt:
My outlook account trashed your response, but I looked at your response
in the mail archives and thanks for the information. I did what you
suggested and it works great.
thanks, Eric
Matt said:
I don't know if that's possible as it stands. :( Could you just
redirect the error output
to a file or property and then echo it after the fact?
-Matt
________________________________
From: Eric Wood
Sent: Monday, March 16, 2009 3:10 PM
To: Ant Users List
Subject: ANT redirector question
I'm running a command that I want to suppress standard out, but not
standard error. I use the following code:
<target name="_fetch" depends="fetch-echo" description="Update
snapshot view">
<exec failonerror="true" executable="cleartool"
resultproperty="rc" >
<arg line="${cc.fetch.arguments}" />
<redirector output="update.out" />
</exec>
</target>
But it seems to redirector standard error to standard out. If I add the
parameter:
<redirector output="update.out" error="update.err"/>
What I want is to have standard error be left to the console. How do I
do that?
Eric