ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: fork option for jar task?
Date Wed, 12 Dec 2001 08:05:10 GMT
On Tue, 11 Dec 2001, Scott Ellsworth <scott@alodar.com> 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

<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3345>

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

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message