jhm 2004/01/28 07:04:16
Modified: docs/manual/CoreTypes selectors.html
Log:
Bug 25801: had written filelist instead of fileset. Thanks to Jim Fuller
Revision Changes Path
1.18 +6 -7 ant/docs/manual/CoreTypes/selectors.html
Index: selectors.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTypes/selectors.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- selectors.html 25 Nov 2003 11:31:48 -0000 1.17
+++ selectors.html 28 Jan 2004 15:04:16 -0000 1.18
@@ -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>
@@ -1197,5 +1197,4 @@
</body>
</html>
-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]