ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: will be removed from JDK1.4
Date Sat, 21 Jul 2001 00:52:43 GMT
On Sat, 21 Jul 2001 03:53, Craig R. McClanahan wrote:
> On the other hand, the "new" compiler entry point has an absolutely
> horrible feature (from the point of view of Jasper) -- you have to modify
> System.out and System.err to redirect the compiler output.  

One hack you could implement is using threadlocals to redirect to appropriate 
place. Each compiler would be in different thread/threadgroup and thus you 
could redirect their output to a different places.

> Unless system
> variables are unique per classloader (they weren't last time I checked),
> that means we can only do one compile at a time :-(.

There will be a method to do that in 1.5 ... guess that doesn't here though ;)

> An additional note of interest to Ant developers - there is evidence that
> running the compiler (either old or new) leaves a fair amount of cruft
> lying around in static variables, after the compile has completed. 

heaps of it ;(


| "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               |

View raw message