ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@mad.scientist.com>
Subject Re: File modification dates
Date Mon, 25 Sep 2000 10:27:46 GMT
At 10:17  25/9/00 +0100, you wrote:
>I am using the <copydir /> task to copy files from one directory to another.
>Is there anyway to have it maintain the original modification dates for the
>copied files?

Unfortunately it is not possible in java and thus not possible in ant :(.
You can do renames which I think keep original OS specific details but no
provision is made for copy.

Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message