ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: content based uptodate
Date Fri, 18 Oct 2002 17:09:32 GMT
I have a not-yet-committeed patch to ant of a <different> mapper, that
compares content. If files have the same timestamp and size they are
considered equal, but if the timestamps are different we do a byte for byte

----- Original Message -----
From: "Mike Dougherty" <MDougherty@XIFIN.Com>
To: "Ant Users (E-mail)" <>
Sent: Friday, October 18, 2002 8:29 AM
Subject: content based uptodate

> Is there a way to find out if a file is uptodate based on the contents of
that file rather than the modified time? For example the server software is
reinstalled, thereby setting the modified time to current, I still want Ant
to configure it based on the templates in StarTeam, which may not have been
modified for a number of months. But on the same token I don't want the file
to be copied every time the deploy target is called, so always setting
overwrite=true will not do.
> /mike
> Mike Dougherty
> Sr. Software Engineer   |
> XIFIN, Inc.             | <>
> Ph: 760.804.0770 x47    | Fax: 760.804.0851
> This message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender and destroy all copies of the original

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

View raw message