ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Skipping empty JARs
Date Mon, 07 Jan 2002 07:21:56 GMT
On Fri, 04 Jan 2002, Kyle Adams <kadams@gfs.com> wrote:

> It seems Jar.java overrides Zip.java's implementation of the
> setWhenempty method, so the whenempty attribute is pretty much
> worthless when used with a Jar.

Well, just because of what the warning message says, Ant generated
jars are never empty 8-)

> Finally, this change means I'm ending up with a bunch of empty JARs
> in my classpath, and makes it a lot harder to create a generalized
> build script for use on multiple projects.

You can always use <zip> instead of <jar> directly.

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