wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 1371
<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: 14687
    
  16

force="true" ?

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


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ant - style task, how to override file
 
Similar Threads
file renameTo() method
Read subdirectories and count files?
Basic Ant excludes question
Copying files
Development: trouble with import and classpath