dcsimg
How to delete content of directory?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Dominik_Roblek
Posted On:   Monday, November 5, 2001 04:06 AM

How is it possible to delete the content of the directory with Ant? I would like to delete all files and subdirectories contained in the specified directory, but not the specified directory itself.

Re: How to delete content of directory?

Posted By:   Pat_Pirtle  
Posted On:   Monday, November 5, 2001 02:27 PM

I also had trouble doing this. I tried every combination of includes and excludes I could think of to no avail. I finally just deleted everything including the directory and then called to add the directory back. Hopefully somebody else has a cleaner solution.
About | Sitemap | Contact