ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Riffe, Melvin" <melvin.ri...@capitalone.com>
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)) {
                return;
            }

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

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 [mailto:bodewig@apache.org]
Sent: Wednesday, July 31, 2002 11:36 AM
To: ant-user@jakarta.apache.org
Subject: Re: Ant 1.5; Using the 'update' attribute of 'zip' task


On Wed, 31 Jul 2002, Melvin Riffe <melvin.riffe@capitalone.com> 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?

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
 
**************************************************************************
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message