|
|
|
@@ -738,9 +738,9 @@ |
|
|
|
|
|
|
|
<blockquote><pre> |
|
|
|
<copy todir="dest"> |
|
|
|
<filelist dir="src"> |
|
|
|
<fileset dir="src"> |
|
|
|
<modified/> |
|
|
|
</filelist> |
|
|
|
</fileset> |
|
|
|
</copy |
|
|
|
</pre></blockquote> |
|
|
|
<p>This will copy all files from <i>src</i> to <i>dest</i> which content has changed. |
|
|
|
@@ -749,7 +749,7 @@ |
|
|
|
|
|
|
|
<blockquote><pre> |
|
|
|
<copy todir="dest"> |
|
|
|
<filelist dir="src"> |
|
|
|
<fileset dir="src"> |
|
|
|
<modified update="true" |
|
|
|
seldirs="true" |
|
|
|
cache="propertyfile" |
|
|
|
@@ -758,7 +758,7 @@ |
|
|
|
<param name="cache.cachefile" value="cache.properties"/> |
|
|
|
<param name="algorithm.algorithm" value="MD5"/> |
|
|
|
</modified> |
|
|
|
</filelist> |
|
|
|
</fileset> |
|
|
|
</copy> |
|
|
|
</pre></blockquote> |
|
|
|
<p>This is the same example rewritten as CoreSelector with setting the all the values |
|
|
|
@@ -766,7 +766,7 @@ |
|
|
|
|
|
|
|
<blockquote><pre> |
|
|
|
<copy todir="dest"> |
|
|
|
<filelist dir="src"> |
|
|
|
<fileset dir="src"> |
|
|
|
<custom class="org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector"> |
|
|
|
<param name="update" value="true"/> |
|
|
|
<param name="seldirs" value="true"/> |
|
|
|
@@ -776,7 +776,7 @@ |
|
|
|
<param name="cache.cachefile" value="cache.properties"/> |
|
|
|
<param name="algorithm.algorithm" value="MD5"/> |
|
|
|
</custom> |
|
|
|
</filelist> |
|
|
|
</fileset> |
|
|
|
</copy> |
|
|
|
</pre></blockquote> |
|
|
|
<p>And this is the same rewritten as CustomSelector.</p> |
|
|
|
@@ -1198,4 +1198,3 @@ |
|
|
|
|
|
|
|
</html> |
|
|
|
|
|
|
|
|