ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn McAllister <>
Subject Re: "Modified" timestamp when using <copy> task
Date Tue, 12 Jun 2001 17:32:04 GMT
Jamie Tsao wrote:

> Hi,
> I'm using Ant 1.3 on Win2K.  When I perform a <copy> task during my
> build to copy over third party jar files (e.g. xerces.jar), why does
> the "modified" timestamp on that jar change to the current system time
> ?  It doesn't really affect anything, but I just find it a bit
> annoying.  The jar file is only being copied over, not modified, so
> that timestamp should remain unchanged.
> - Jamie

When you copy over the file, you've "changed" the contents of the file
while leaving the name the same.  Thus, the new modified date.

Glenn McAllister

View raw message