ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: <copy/> does not "preservelastmodified" on directories.
Date Fri, 14 Oct 2011 03:55:12 GMT
On 2011-10-13, Cyril Sagan wrote:

> I glanced at the code for org.apache.tools.ant.util.FileUtils and
> ResourceUtils, from the source it doesn't look like the preservelastmodified
> attribute was ever intended to apply to directories.    Can someone from
> ant-dev offer an opinion on why directories aren't (shouldn't be?) included
> in the semantics for preserving modification times?

Because you are the first person who ever cared about the last modified
times of directories, or at least the first person who ever spoke up.
Really.  It just never occured to us.

> Does this seems like a reasonable enhancement request?

Yes.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message