On Wed, 19 Jun 2002, Keith Wannamaker <[EMAIL PROTECTED]> wrote: > The only bug I can see from glancing at the > code is that JunitTestRunner restores System.out's > value to System.err.
Ahh, thanks, fixed now. > While that appears incorrect, I'm still tracking down why, in > practice, my (unforked) junit task never restores System.out. Are you sure it doesn't? While running in Ant's VM, you never get access to System.out/.err directly, they will always be DemuxOutputStreams that relay the output to the loggers (via the Task's handleOutput and handleErrorOutput methods, note that JUnitTask overrides those). Because of this, System.out and .err are effectively line-buffered and you have no chance to avoid it. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
