Changeset 108
- Timestamp:
- 08/11/06 12:04:20 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.2/docs/phing_guide/book/chapters/appendixes/AppendixB-CoreTasks.html
r106 r108 473 473 </p> 474 474 <h3>Example</h3> 475 <pre><-- Delete a specific file from a directory-->476 <delete file=" foo.bar" dir="/tmp" />475 <pre><-- Delete a specific file --> 476 <delete file="/tmp/foo.bar" /> 477 477 478 478 <-- Delete a directory --> 479 479 <delete dir="/tmp/darl" includeemptydirs="true" verbose="true" failonerror="true" /> 480 481 <-- Delete using a fileset --> 482 <delete> 483 <fileset dir="/tmp"> 484 <include name="*.bar" /> 485 </fileset> 486 </delete> 480 487 </pre> 481 488 <h3>Attributes</h3> … … 496 503 <td> 497 504 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. 499 506 </td> 500 507 <td>n/a</td> … … 506 513 <td> 507 514 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. 509 516 </td> 510 517 <td>n/a</td>
