On 2011-12-08, Emma Burrows wrote: > Apologies for revisiting this issue a week later.
Don't worry. >> Another approach more in line with your original one is to explicitly >> set update to false on your modified selector during normal builds and >> set it to true when you actually deploy the files. > I don't seem to be able to get this to work. I am using Ant 1.7.1. and > I have the following code: > <copy todir="\content\Test\" includeEmptyDirs="false" failonerror="no"> > <fileset dir="../Output"> > <modified update="false" /> > </fileset> > </copy> Ant 1.7.1 has a known bug <https://issues.apache.org/bugzilla/show_bug.cgi?id=32597> If you can't upgrade Ant, this should work <copy todir="\content\Test\" includeEmptyDirs="false" failonerror="no"> <fileset dir="../Output"> <modified> <param name="update" value="false"/> </modified> </fileset> </copy> Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org