ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: fork option for jar task?
Date Wed, 12 Dec 2001 08:05:10 GMT
On Tue, 11 Dec 2001, Scott Ellsworth <> wrote:

> The only strange bit is that the jar is used in later stages of the
> build as part of the javac classpath for other items.

Using JDK 1.3?

The modern compiler has a resource leak and won't close ZIP files that
are on the CLASSPATH after reading them.  The workaround is to set
fork="true" on the javac task.  See also


> I got various and sundry error messages about not being able to find
> javac on Linux when I tried using the fork=yes option to javac,

We should address these, then.  Works for me on Linux, BTW.


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

View raw message