IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes timestamp Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "timestamp" Watch "timestamp" New topic
Author

timestamp

Abhinav Srivastava
Ranch Hand

Joined: Nov 19, 2002
Posts: 341

Whenever I instruct ant 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!
Loren Rosen
Ranch Hand

Joined: Feb 12, 2003
Posts: 156
Use the preservelastmodified parameter to the ant copy task.
 
 
subject: timestamp
 
Threads others viewed
window timestamp
javamail api and timestamping
Date Mapping
Copying file using bat file only when there are changes to the file.
Time stamp for a jar file
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com