ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject RE: [PATCH] Re: other tokens
Date Thu, 18 Jan 2001 02:29:29 GMT
At 01:09  18/1/01 +1100, Conor MacNeill wrote:
>I think the
>whole copy functionality should be refactored out of Project, perhaps into
><copy>

Agreed - or event better into a IOUtils or FileUtils (steal the code from
Avalon which does just this???).

>Why not make this token attribute an attribute of copy, along with a nested
>filter element, so filtering can become more explicit in operation.
>Something like
>
><copy tokendelimiter="%" ...>
>   <filter token="year" value="2000"/>
></copy>

+1

I wanted to do this for ages but am too lazy ;) Another thing that was
requested a fair bit was the notion of filtersets to allow easy resuse of
filters.

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message