From: "Jose Alberto Fernandez" <[EMAIL PROTECTED]> > > Yeap. I think it may be possible to have ANT put its own streams of System.* > so that all tasks that may be using System.* directly will get their output > diverted. But what I am not so sure we can do that easily is to have > multiple separate channels running at the same time on different threads > since all of them share the same System.* variables. > > Although on second thought, there are ThreadContext variables in Java2 maybe > we could use them to achieve that kind of thing. >
I guess you are referring to ThreadLocal. Pete Donald suggested creating an output stream that used ThreadLocal to effectively demux the System.out into the output for each thread. I believe that is workable. Conor --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
