At 15:37 26-05-2000 -0400, you wrote:
> I think
>
>       <delete dir="some/dir" includes="*.class" />
>
> is obviously without recursion and
>
>       <delete dir="some/dir" includes="**/*.class" />
>
> is obviously with recursion.
> What this one would mean if we allow additional tag:
>
>     <delete dir="some/dir" recurse="false" includes="**/*.class" />
>
> ?
>
> -1 for a recursion tag,
> include/exclude mechanism is clearer, and is already there.


That's what I thought at first... but what if I want to recurs/(or not) when I have an includes attribute?

- Brill Pappin


includes in itself doesn't automatically imply recursion. You only get
recursion when you specify it in the includes/excludes (with the "**").
See the manual on the includes/excludes mechanism. Therefore the extra
"recurse" attribute is meaningless.

(So a -1 for the recurse attribute;-)

  -Arnout



Reply via email to