ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: jar zip custom task question
Date Tue, 25 Mar 2003 06:57:43 GMT
On Tue, 25 Mar 2003, Shawn <> wrote:

> It seems like Ant's zip and jar classes are an alternative to and do
> not make use of Sun's jar utility?  Is that correct?


> Within Jar's constructor I noticed archiveType = "jar";

This is not significant.  The string given in archiveType is used in
several log messages, that's all.

> If not, where is that utility set.

We use* - included in Ant's source tree.

> If so, could anyone suggest how to jar files in Ant using Sun's
> utility (I could then switch to kjx).

<java> or <exec> would do.  In case of "jar" I'd suggest <apply> with
a "merge" <mapper>.


View raw message