Browse Source

Bug 25801: had written filelist instead of fileset. Thanks to Jim Fuller

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275966 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 21 years ago
parent
commit
48891ada61
1 changed files with 6 additions and 7 deletions
  1. +6
    -7
      docs/manual/CoreTypes/selectors.html

+ 6
- 7
docs/manual/CoreTypes/selectors.html View File

@@ -738,9 +738,9 @@

<blockquote><pre>
&lt;copy todir="dest">
&lt;filelist dir="src">
&lt;fileset dir="src">
&lt;modified/>
&lt;/filelist>
&lt;/fileset>
&lt;/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>
&lt;copy todir="dest">
&lt;filelist dir="src">
&lt;fileset dir="src">
&lt;modified update="true"
seldirs="true"
cache="propertyfile"
@@ -758,7 +758,7 @@
&lt;param name="cache.cachefile" value="cache.properties"/>
&lt;param name="algorithm.algorithm" value="MD5"/>
&lt;/modified>
&lt;/filelist>
&lt;/fileset>
&lt;/copy>
</pre></blockquote>
<p>This is the same example rewritten as CoreSelector with setting the all the values
@@ -766,7 +766,7 @@

<blockquote><pre>
&lt;copy todir="dest">
&lt;filelist dir="src">
&lt;fileset dir="src">
&lt;custom class="org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector">
&lt;param name="update" value="true"/>
&lt;param name="seldirs" value="true"/>
@@ -776,7 +776,7 @@
&lt;param name="cache.cachefile" value="cache.properties"/>
&lt;param name="algorithm.algorithm" value="MD5"/>
&lt;/custom>
&lt;/filelist>
&lt;/fileset>
&lt;/copy>
</pre></blockquote>
<p>And this is the same rewritten as CustomSelector.</p>
@@ -1198,4 +1198,3 @@

</html>



Loading…
Cancel
Save