ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: delete directory tree but not main directory.
Date Wed, 09 Oct 2002 09:54:56 GMT
--- Eloise Friedman <> wrote:
> For one of my clean tasks I want to delete a directory tree, but leave
> the base directory.

Only two ways come immediately to mind:
  - put a "dot file" (eg, .savdir) in there and 'excludes' it
    so the dir still has something in it (kinda funky)
  - go ahead and let the dir get deleted and <mkdir> it back
    into existence (definitely more straightforward -- what's
    so precious about an empty directory?)



Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More

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

View raw message