Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Direcotry Delete based on pattern

Direcotry Delete based on pattern

2003-03-17       - By Dominique Devienne
Reply:     1     2     3     4     5     6     7     8  

Look at selector anyway. This is one of the best addition to Ant (IMHO).

Behold the power of selectors ;-) --DD

-----Original Message-----
From: Chris Reeves [mailto:CReeves@(protected)]
Sent: Monday, March 17, 2003 4:35 PM
To: Ant Users List
Subject: RE: Direcotry Delete based on pattern

[DD] Ah, if some people only knew what they want ;-)

> -----Original Message-----
> From: Dominique Devienne [mailto:DDevienne@(protected)]
> Sent: Monday, March 17, 2003 5:27 PM
> To: 'Ant Users List'
> Subject: RE: Direcotry Delete based on pattern
>
>
> That's my point: There isn't!!!

Noted.

> You don't need to write a
> task, but a little task that implements
> org.apache.tools.ant.types.selectors.FileSelector, and then
> use it inside the <fileset>.

Yup - I could do that. But, I was looking for a quick-and-dirty
solution.

>
> See
> http://ant.apache.org/manual/CoreTypes/selectors.html#customse
> lect for how to plug in your custom selector. --DD

Thanks - I hadn't looked at the selectors before. As it stands, in the
time I spent researching it, the person on my team that asked for it has
decided he no longer needs it. I'm off the selector hook.

Chris


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.