Browse Source

Maybe this will help as well.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271307 13f79535-47bb-0310-9956-ffa450edef68
master
Diane Holt 23 years ago
parent
commit
fa3f35098e
1 changed files with 12 additions and 5 deletions
  1. +12
    -5
      docs/manual/CoreTasks/delete.html

+ 12
- 5
docs/manual/CoreTasks/delete.html View File

@@ -25,13 +25,20 @@ To remove empty directories, use the <code>includeEmptyDirs</code> attribute.
</tr> </tr>
<tr> <tr>
<td valign="top">file</td> <td valign="top">file</td>
<td valign="top">The file to delete.</td>
<td align="center" valign="middle" rowspan="2">At least one of the two, unless a <code>&lt;fileset&gt;</code> is specified.</td>
<td valign="top">The file to delete, specified as either the simple
filename (if the file exists in the current base directory), a
relative-path filename, or a full-path filename.</td>
<td align="center" valign="middle" rowspan="2">At least one of the two,
unless a <code>&lt;fileset&gt;</code> is specified.</td>
</tr> </tr>
<tr> <tr>
<td valign="top">dir</td> <td valign="top">dir</td>
<td valign="top">The directory to delete, including all its files and <td valign="top">The directory to delete, including all its files and
subdirectories. <b>WARNING:</b> Do <b>not</b> set <code>dir</code> to
subdirectories.<br>
<b>Note:</b> <code>dir</code> is <em>not</em> used
to specify a directory name for <code>file</code>; <code>file</code>
and <code>dir</code> are independent of each other.<br>
<b>WARNING:</b> Do <b>not</b> set <code>dir</code> to
<code>&quot;.&quot;</code>, <code>&quot;${basedir}&quot;</code>, <code>&quot;.&quot;</code>, <code>&quot;${basedir}&quot;</code>,
or the full-pathname equivalent unless you truly <em>intend</em> to or the full-pathname equivalent unless you truly <em>intend</em> to
recursively remove the entire contents of the current base directory recursively remove the entire contents of the current base directory
@@ -46,8 +53,8 @@ To remove empty directories, use the <code>includeEmptyDirs</code> attribute.
</tr> </tr>
<tr> <tr>
<td valign="top">quiet</td> <td valign="top">quiet</td>
<td valign="top">If the file does not exist, do not display a diagnostic
message (unless Ant
<td valign="top">If the specified file or directory does not exist,
do not display a diagnostic message (unless Ant
has been invoked with the <code>&#x2011;verbose</code> or has been invoked with the <code>&#x2011;verbose</code> or
<code>&#x2011;debug</code> switches) or modify the exit status to <code>&#x2011;debug</code> switches) or modify the exit status to
reflect an error. reflect an error.


Loading…
Cancel
Save