File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
Joined: Nov 19, 2002
Mar 16, 2004 22:39:00
Whenever I instruct
to copy files from one location to another, it changes timestamp of all the files. This is very annoying as the file appears to have changed even though it has not been modified.
Is there a way out!
Joined: Feb 12, 2003
Mar 17, 2004 09:26:00
Use the preservelastmodified parameter to the ant copy task.
I agree. Here's the link:
javamail api and timestamping
Time stamp for a jar file
Copying file using bat file only when there are changes to the file.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015