| Direcotry Delete based on pattern | Direcotry Delete based on pattern 2003-03-17 - By Dominique Devienne
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
|
|
 |