Changeset 108

Show
Ignore:
Timestamp:
08/11/06 12:04:20 (2 years ago)
Author:
rob
Message:

Changed the documentation for DeleteTask to match the actual behavior

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/docs/phing_guide/book/chapters/appendixes/AppendixB-CoreTasks.html

    r106 r108  
    473473</p> 
    474474<h3>Example</h3> 
    475 <pre>&lt;-- Delete a specific file from a directory --&gt; 
    476 &lt;delete file=&quot;foo.bar&quot; dir=&quot;/tmp&quot; /&gt; 
     475<pre>&lt;-- Delete a specific file --&gt; 
     476&lt;delete file=&quot;/tmp/foo.bar&quot; /&gt; 
    477477 
    478478&lt;-- Delete a directory --&gt; 
    479479&lt;delete dir=&quot;/tmp/darl&quot; includeemptydirs=&quot;true&quot; verbose=&quot;true&quot; failonerror=&quot;true&quot; /&gt; 
     480 
     481&lt;-- Delete using a fileset --&gt; 
     482&lt;delete&gt; 
     483  &lt;fileset dir=&quot;/tmp&quot;&gt; 
     484    &lt;include name=&quot;*.bar&quot; /&gt; 
     485  &lt;/fileset&gt; 
     486&lt;/delete&gt; 
    480487</pre> 
    481488<h3>Attributes</h3> 
     
    496503      <td> 
    497504        The file that is to be deleted. You either have to specify 
    498         this attribute, or <em>dir</em> or both
     505       this attribute, <em>dir</em>, or use a fileset
    499506      </td> 
    500507      <td>n/a</td> 
     
    506513      <td> 
    507514        The directory that is to be deleted. You either have to specify 
    508         this attribute, or <em>file</em> or both
     515        this attribute, <em>file</em>, or use a fileset
    509516      </td> 
    510517      <td>n/a</td>