Preserve original timestamp when copying file and overwrite when new
authorAlberto Di Meglio <alberto.di.meglio@cern.ch>
Fri, 27 Aug 2004 03:03:12 +0000 (03:03 +0000)
committerAlberto Di Meglio <alberto.di.meglio@cern.ch>
Fri, 27 Aug 2004 03:03:12 +0000 (03:03 +0000)
org.glite.lb/build.xml

index adaddcb..b563dcb 100755 (executable)
@@ -20,6 +20,9 @@
 
        Revision history:
        $Log$
+       Revision 1.15  2004/08/27 02:46:52  dimeglio
+       Added logic to create the tagged dependencies properties file
+       
        Revision 1.14  2004/08/26 23:48:26  dimeglio
        Added generation of cruisecontrol config file entry
        
 &lt;/moduleslist&gt;
                </echo>
                <copy file="${module.project.dir}/dependencies.properties"
-                         tofile="${module.project.dir}/dependencies.properties.HEAD" />
+                         tofile="${module.project.dir}/dependencies.properties.HEAD"
+                         preservelastmodified="true"
+                         overwrite="true" />
                <xslt style="${global.project.dir}/tagged.dependencies.properties.xsl"
                         in="${module.project.dir}/modules.list.xml"
                         out="${module.project.dir}/dependencies.properties"
                        <arg line="ci -m &quot;Tagged dependencies properties file [GLBUILDER]&quot; dependencies.properties" />
                </exec>
                <copy file="${module.project.dir}/dependencies.properties.HEAD"
-                         tofile="${module.project.dir}/dependencies.properties" />
+                         tofile="${module.project.dir}/dependencies.properties"
+                         preservelastmodified="true"
+                         overwrite="true" />
                <delete file="${module.project.dir}/dependencies.properties.HEAD"/>
                <delete file="${module.project.dir}/modules.list.xml"/>