ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject RE: [PATCH] Wait and Available (Updated)
Date Tue, 09 Jan 2001 07:46:29 GMT
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               |
*-----------------------------------------------------*


Mime
View raw message