From 6bbd513905883b0302f96bf37184cd7bb132d2c6 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Fri, 12 Jan 2007 19:40:21 +0000 Subject: [PATCH] commit doc xml after the fact 'cause I'm too dumb to generate docs. :( git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@495705 13f79535-47bb-0310-9956-ffa450edef68 --- xdocs/faq.xml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/xdocs/faq.xml b/xdocs/faq.xml index c89266ca1..ea174fd77 100644 --- a/xdocs/faq.xml +++ b/xdocs/faq.xml @@ -678,13 +678,30 @@ shell-prompt> m4 foo.m4 > foo +]]> + + + + + How can I delete everything beneath a particular directory, + preserving the directory itself? + +

Most users who go down this path have no problem figuring out that + <delete includeemptydirs="true" /> will help them. The + seemingly tricky part is preserving the base directory itself, + which Ant includes in the directory scan. Fortunately the answer is simple: +

+ + + ]]>
- + General Advice