...do the same thing to the other files, but it takes a long time
I only want to delete and copy files that have been updated. (With the modified date in clearcase later than that in RSA)
...do the same thing to the other files, but it takes a long time
I only want to delete and copy files that have been updated. (With the modified date in clearcase later than that in RSA)
You need to use a selector on a FileSet. Something like this:
<fileset dir="${your.working.dir}/src/main" includes="**/*.java">
<different targetdir="${clean.clearcase.checkout}/src/main"
ignoreFileTimes="false"
ignoreContents="true" />
</fileset>
That compares your working dir to a clean checkout you have elsewhere, and returns the files whose last modified times have changed. You can use the fileset as the argument for a <delete>
or a <copy>
.