ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry V. Streepy, Jr." <>
Subject Re: "Modified" timestamp when using <copy> task
Date Tue, 12 Jun 2001 17:57:29 GMT
Doesn't matter to the OS. You opened the file and wrote into it.  That's
all it takes to change the modification time.  The OS is not checking to
see that what you wrote in hasn't changed.

If the copy is always occurring, even when your source file has not, are
you setting the "overwrite" attribute to "true"?  If so, you might set
it to false and avoid the copy when the source file hasn't changed.

Jamie Tsao wrote:
> >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.
> Have I "changed" the contents of the file ?  I'm merely doing a copy.
> The actually binary file is identical.
> - Jamie

Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering

Health Language, Inc.  -- "We speak the language of healthcare"

970/626-5028 (office) 
970/626-4425 (fax)    

View raw message