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

ant - style task, how to override file

 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<style basedir="dir1" destdir="dir2" includes="hai.txt" style="c.xsl" out="hai.txt"/> I am copying hai.txt from dir1 to dir2. First time copy is fine. From second copy onwards, hai.txt is not updating new changes. How can i overwrite the file hai.txt using (something like overwrite="true")?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
force="true" ?

(note that "style" is deprecated. You should use xslt instead)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic