ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simeon Fitch <meta...@yahoo.com>
Subject Re: [PATCH] Change last modified of a copied file.
Date Tue, 07 Nov 2000 13:54:42 GMT


--- Jaco de Groot <jaco.de.groot@eo.nl> wrote:
> Jaco de Groot wrote:
> > 
> > I've changed Project.java to make the last
> modified time of a copied file the
> > same as the original file. Because I had to use
> reflection I created
> > OldJava.java wich contains a setFileLastModified
> method wich can be used at
> > other places as well (like Touch.java).

Not that I've followed this thread much, but my
off-the-cuff thoughts are that this is a bad idea. Why
is this necesessary? It seems to me that it is better
to save the information that the copied file *is*
newer than the original. The OS's date semantics
relative to copying files seem appropriate for the Ant
context. 

Is there some gained feature that I'm missing? It
seems to be yet another level of complexity that would
have to be "normalized" accross tasks (e.g.
Touch.java).

Simeon

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/

Mime
View raw message