This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes timestamp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "timestamp" Watch "timestamp" New topic
Author

timestamp

Abhinav Srivastava
Ranch Hand

Joined: Nov 19, 2002
Posts: 352

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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: timestamp
 
It's not a secret anymore!