ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdblaha1 <>
Subject Re: Ant 1.7: unzip with overwrite set to 'false' is overwriting files
Date Wed, 08 Jul 2009 18:22:05 GMT

Thank you David for pointing out the OLDER vs. NEWER timestamp.  The
timestamp of the existing files is always OLDER in my testing.

My problem isn't solved with the patternset as I previously thought.  If my
config properties files don't exist in the dest directory in the first place
I DO want them there.  The patternset will always exclude them whether they
exist or not.   I need someway to just simply NOT overwrite them if they
exist OLDER or NEWER timestamp.  In that case what would you suggest?

Thanks again David,
Rick Blaha

David Weintraub wrote:
> Quick question: What is the timestamp on these files?
> If you set the overwrite parameter to false, it may be overwriting
> files that have an OLDER timestamp than the file that's replacing it.
> The description of this parameter is:
>     Overwrite files, even if they are newer than the corresponding entries
>     in the archive (true or false, default is true).

View this message in context:
Sent from the Ant - Users mailing list archive at

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

View raw message