This is a question for user list. With <delete> you need to set two attributes defaultexcludes="false" and includeemptydirs="true".

- Alexey.

Arminio Andrei wrote:
I read the manual but not so intuitive. I solved my problem simple:
since I runt the ant script on a linux box I use <exec> task to execute
a simple script with this command "find . -name ".svn" | xargs rm -rf".

I will try later to figure out if is possible to use the <delete> task
with that pattern

Thx Dominique

Dominique Devienne <[EMAIL PROTECTED]> wrote: Please read the manual
entry for  Arminio.

Consider using a pattern similar to **/.svn/** and using the attribute
that control inclusion or not of empty dirs. --DD

On 7/5/06, Arminio Andrei  wrote:
Hi,

How can I delete recursive a directory starting from a parent
directory?
I have this tree

Parent -
         |- .svn
         |- Dir1
           |- .svn
           |-Dir2
         .
         .
I want to delete .svn direcory form all child directories

Have a nice day,
Arminio


---------------------------------
Sneak preview the  all-new Yahoo.com. It's not radically different.
Just radically better.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



                
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great
rates starting at 1ยข/min.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to