In response to Greg Roodt <gro...@gmail.com>: > Ant normally captures stdout. Have you tried the xml formatter?
Not yet. If you have reason to believe that it will more accurately report the output, my answer is that the other formatter should be reported as broken. But I'll give it a go and see if I have more success. > It looks like your test is failing because its timing out, does it pass if > you remove the timeout? I increased the timeout, and that helped ... the program now runs out of stack space. However, I'm _still_ not seeing the output, which makes automated testing by ant a royal pain to debug. If it can't capture the test output, then the process of understanding _why_ tests fail and fixing the problem is greatly complicated. > Also, is there a reason you are using sysout rather than a logging framework > like log4J? In order to be compatible with our existing centralized error processing system, I had to write a custom logging framework (actually, I didn't _have_ to, but the advantages are considerable) As a result, it's difficult to test that framework while simultaneously using it. To add to the difficulty, the design of the framework is to dump log data to stdout when in a testing context, so it doesn't help anyway. Thanks for you input, I'll investigate whether I can use some of these tactics to improve things, but I'm still greatly disturbed that it's so difficult to capture stdout. Even with a logging framework, what happens with console programs that are supposed to output to stdout? Not being able to see how far along they get makes debugging difficult. -- Bill Moran Collaborative Fusion Inc. http://people.collaborativefusion.com/~wmoran/ wmo...@collaborativefusion.com Phone: 412-422-3463x4023 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org