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