--- On Mon, 3/16/09, Eric Wood <[email protected]> wrote: > From: Eric Wood <[email protected]> > Subject: ANT redirector question > To: "Ant Users List" <[email protected]> > Date: Monday, March 16, 2009, 2:10 PM > 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?
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 > > Eric > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
