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>
       &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>
  @@ -1197,5 +1197,4 @@
     </body>
   
   </html>
  -
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to