ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Louis Tribble <>
Subject Re: [PATCH] Change last modified of a copied file.
Date Tue, 07 Nov 2000 18:35:39 GMT
Jaco de Groot wrote:
> Yes, it would. But maybe it is more aproppiate to do it default. What do the
> most OS's do when copying a file? Hmmm, Midnight Commander preserves the last
> modified, but the cp command doesn't (I'm using Linux). Maybe this
> keepdate="yes" attribute is a better idea. Before hacking this in the code I
> would like to hear from other's what thay think is aproppriate.

keepdate should be available but not the default. I've often used
the option with copy commands (on various operating systems) for
file refresh and configuration management sorts of things.

When keepdate=true, better to throw an exception under JDK 1.1 than
copy anyways. Otherwise, the likely consequence is using the wrong
files in a build.


Louis Tribble                               
Metamata, Inc.                         
Tools for serious Java developers.                       +1 510 796 0915

View raw message