ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject Re: [ANN] Collecting requirements for Ant2
Date Mon, 12 Mar 2001 12:27:57 GMT
From: "Jose Alberto Fernandez" <>
> Yeap. I think it may be possible to have ANT put its own streams of
> so that all tasks that may be using System.* directly will get their
> 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
> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message