--- Jaco de Groot <[EMAIL PROTECTED]> 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/
