ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramnish Kalsi <>
Subject RE: Copy task and timestamp
Date Tue, 02 Aug 2005 13:21:35 GMT
This should solve your issue:

preservelastmodified  	Give the copied files the same last modified time as
the original source files.  	No; defaults to false.

Its the second paramter.


-----Original Message-----
From: []
Sent: 02 August 2005 14:23
Subject: Copy task and timestamp

Hi All,
          While you use Copy task it will change the timestamp of that
file, i.e. if "old.txt" file was created on July 12, 2000 when you copy
this file on Aug 12, 2005 to certain location Copy task will change its
timestamp(or modified date) to Aug 12, 2005, hope people are getting me.
What I want is that Copy task should not change the date modified of the
old.txt file, it should retain the same old date.
How can this be achieved, can anybody give thought on this.
Actually changing of modified date doesn't give the clear picture what
was the actual modified date of the particular file.
Can any one help me out?


Confidentiality Notice

The information contained in this electronic message and any attachments to
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or immediately
and destroy all copies of this message and any attachments.

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

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

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

View raw message