You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jamie Tsao <jt...@atinera.com> on 2001/06/12 19:21:24 UTC
"Modified" timestamp when using task
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
Re: "Modified" timestamp when using task
Posted by Glenn McAllister <gl...@somanetworks.com>.
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