Ah, I forgot about defaultexcludes! I have to remember that .svn is in
there now.

Thanks Alexey. --DD

On 7/5/06, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote:
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.
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to