From fa3f35098e3076f1e6208ce50f02ba319b6b5a03 Mon Sep 17 00:00:00 2001 From: Diane Holt Date: Wed, 13 Feb 2002 04:35:57 +0000 Subject: [PATCH] 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 --- docs/manual/CoreTasks/delete.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/manual/CoreTasks/delete.html b/docs/manual/CoreTasks/delete.html index e5752012f..a1a84a34b 100644 --- a/docs/manual/CoreTasks/delete.html +++ b/docs/manual/CoreTasks/delete.html @@ -25,13 +25,20 @@ To remove empty directories, use the includeEmptyDirs attribute. file - The file to delete. - At least one of the two, unless a <fileset> is specified. + 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. + At least one of the two, + unless a <fileset> is specified. dir The directory to delete, including all its files and - subdirectories. WARNING: Do not set dir to + subdirectories.
+ Note: dir is not used + to specify a directory name for file; file + and dir are independent of each other.
+ WARNING: Do not set dir to ".", "${basedir}", or the full-pathname equivalent unless you truly intend to recursively remove the entire contents of the current base directory @@ -46,8 +53,8 @@ To remove empty directories, use the includeEmptyDirs attribute. quiet - If the file does not exist, do not display a diagnostic - message (unless Ant + If the specified file or directory does not exist, + do not display a diagnostic message (unless Ant has been invoked with the ‑verbose or ‑debug switches) or modify the exit status to reflect an error.