|
|
|
@@ -54,16 +54,16 @@ import org.apache.tools.ant.util.ResourceUtils; |
|
|
|
* <p>The ModifiedSelector is implemented as a <b>CoreSelector</b> and uses default |
|
|
|
* values for all its attributes therefore the simplest example is</p><pre> |
|
|
|
* <copy todir="dest"> |
|
|
|
* <filelist dir="src"> |
|
|
|
* <fileset dir="src"> |
|
|
|
* <modified/> |
|
|
|
* </filelist> |
|
|
|
* </fileset> |
|
|
|
* </copy> |
|
|
|
* </pre> |
|
|
|
* |
|
|
|
* <p>The same example rewritten as CoreSelector with setting the all values |
|
|
|
* (same as defaults are) would be</p><pre> |
|
|
|
* <copy todir="dest"> |
|
|
|
* <filelist dir="src"> |
|
|
|
* <fileset dir="src"> |
|
|
|
* <modified update="true" |
|
|
|
* cache="propertyfile" |
|
|
|
* algorithm="digest" |
|
|
|
@@ -71,13 +71,13 @@ import org.apache.tools.ant.util.ResourceUtils; |
|
|
|
* <param name="cache.cachefile" value="cache.properties"/> |
|
|
|
* <param name="algorithm.algorithm" value="MD5"/> |
|
|
|
* </modified> |
|
|
|
* </filelist> |
|
|
|
* </fileset> |
|
|
|
* </copy> |
|
|
|
* </pre> |
|
|
|
* |
|
|
|
* <p>And the same rewritten as CustomSelector would be</p><pre> |
|
|
|
* <copy todir="dest"> |
|
|
|
* <filelist dir="src"> |
|
|
|
* <fileset dir="src"> |
|
|
|
* <custom class="org.apache.tools.ant.type.selectors.ModifiedSelector"> |
|
|
|
* <param name="update" value="true"/> |
|
|
|
* <param name="cache" value="propertyfile"/> |
|
|
|
@@ -86,7 +86,7 @@ import org.apache.tools.ant.util.ResourceUtils; |
|
|
|
* <param name="cache.cachefile" value="cache.properties"/> |
|
|
|
* <param name="algorithm.algorithm" value="MD5"/> |
|
|
|
* </custom> |
|
|
|
* </filelist> |
|
|
|
* </fileset> |
|
|
|
* </copy> |
|
|
|
* </pre> |
|
|
|
* |
|
|
|
|