ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Deleteing directories
Date Mon, 12 Jan 2004 10:59:24 GMT
On Fri, 9 Jan 2004, Don Kichline <> wrote:
> I am looking to delete all directories under a certain directory
> (call it root), but I do not want to delete any of the files in this
> root directory.

Use selectors:

  <delete includeemptydirs="true">
    <fileset dir="root">
        <filename name="*" negate="true"/>
        <type type="dir"/>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message