At 02:38 9/1/01 +1100, Conor MacNeill wrote:
>if (threaded && redirecting && not forked) {
> throw new BuildException("Choose any two, baby");
>}
Or alternatively we could replace System.out with a custom PrintStream that
checked a ThreadLocalVariable to see which task it is associated with. This
sort of trick is oftend used in servlet/ejb containers.
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*