ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: FilenameMapper with multiple mappings?
Date Mon, 20 Jan 2003 07:59:02 GMT
On Sat, 18 Jan 2003, Angus McIntyre <angus@pobox.com> wrote:

> One would be to define a new FileNameMapper type, so as to be able
> to do something like:
> 
> 
> 	<mapper type="multiglob" from="*.xml,*.php"
> 	to="*.html,*.php"/>

Yes.  Maybe we should add some support for arbitrary nested elements
in <mapper> (using DynamicElement?).

> However, it's not immediately clear to me how easy it would be to
> integrate this, given the way mapper implementations are defined. It
> looks to me as if I'd need to hack Mapper to make this work.

No, just use the classname attribute instead of type.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message