But, I must clearly be doing something wrong.
I have the following snippet from my build.xml:
This build.xml exists in:
which is an Eclipse project, and thus in Eclipse the project name is Project-Common.
The other projects are, obviously, Project-1, and Project-2, and exist in:
Now, the snippet I have works, but I'm trying to figure out how to get a single line to delete all directories inside a project's directory, but NOT files that are directly inside the project directory - and I'd also like to exclude the .settings directory from being deleted.
I've tried a few variants, but they're either too aggressive (delete everything, including the files, the .settings directory, the .project file, etc), or even delete the Project-1 and Project-2 folders themselves as well... or they delete the contents of the subdirectories, but leave the directories intact - ie Project-1/bin still exists, but everything below it is gone, etc.
So . . uh, how do I do this? I get the feeling I'm missing something incredibly simple here...
Thanks in advance.