inside of BuildFileTest:
            PrintStream err = new PrintStream(new AntOutputStream());
and the private inner class AntOutputStream writes all it's output to the
outBuffer, which you can retrieve via getOutput.  Personally, i think this
is a bug, since there's an errBuffer in BuildFileTest, but it's never used,
other than it's instantiation.
-----Original Message-----
From: Dean Hiller []
Sent: Friday, November 21, 2003 9:03 AM
Subject: [Ant-contrib-developers] std.err. or tests redirected????

When I run tests, where is the std. err of the ant task going?  std. err. of the testcase naturally comes to the console.  I suppose the BuildFileTest may be kicking off another VM to start ant with the actual test targets.  If so, is there a way to make sure that VM's std. err. gets printed to my test cases std. err. which is working fine.  Sometimes I like to just add a temporary print statement to see what is going wrong, but I can't seem to do that because I lose std. err/std. out.  I would like to figure out how to get it back again.