Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

timestamp

 
Abhinav Srivastava
Ranch Hand
Posts: 354
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the preservelastmodified parameter to the ant copy task.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic