ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Riffe, Melvin" <>
Subject RE: Ant 1.5; Using the 'update' attribute of 'zip' task
Date Wed, 31 Jul 2002 15:43:01 GMT
Here's the actual code snippet:

//MLR; 22 July 2002; 17:30
//This was preventing me from updating a war file that did not
// contain the files that would have updated it.
            if (!doUpdate && isUpToDate(scanners, zipFile)) {

I think the 'real' fix belongs in Zip.isUpToDate(), because the zip/jar/war
file, after the first time the additional files are included, is always

In my opinion, if the files that are to be added are /not/ in the zip file,
the zip file should be updated - but that's based on my current situation.
However, if they are there then normal checking should occur.

Mel Riffe

-----Original Message-----
From: Stefan Bodewig []
Sent: Wednesday, July 31, 2002 11:36 AM
Subject: Re: Ant 1.5; Using the 'update' attribute of 'zip' task

On Wed, 31 Jul 2002, Melvin Riffe <> wrote:

> I down loaded the source and with a quick hack (read - not ready for
> prime time)

Even if it's not ready to share it, I'd be interested in what you've
done 8-)

Just made update the "always recreate" option it has been in 1.4?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

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

View raw message