GeeCON Prague 2014*
The moose likes Ant, Maven and Other Build Tools and the fly likes ant - style task, how to override file 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 "ant - style task, how to override file" Watch "ant - style task, how to override file" New topic
Author

ant - style task, how to override file

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1376
<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

Joined: Nov 24, 2005
Posts: 14688
    
  16

force="true" ?

(note that "style" is deprecated. You should use xslt instead)


[My Blog]
All roads lead to JavaRanch
 
GeeCON Prague 2014
 
subject: ant - style task, how to override file