Thanks Matt. Sorry folks. Another RTFM moment. :n(

Phil

On Fri, 2004-08-27 at 14:49, Matt Benson wrote:

> This is really more of a user question.  Anyway, per
> the manual, if you use nested mappers of any type the
> <mapper> element will behave as a composite mapper,
> which unions any child mapper elements.  So the answer
> is you would nest this way for a composite:
> 
> <copy ...>
>   <mapper>
>     <flattenmapper />
>     <mapper type="?" />
>   </mapper>
> </copy>
> 
> and this way for a chained mapper:
> <copy ...>
>   <mapper>
>     <chainedmapper>
>       <unpackagemapper />
>       <flattenmapper />
>     </chainedmapper>
>   </mapper>
> </copy>
> 
> HTH,
> Matt
> 
> --- Phil Weighill-Smith
> <[EMAIL PROTECTED]> wrote:
> 
> > I noticed that Ant 1.6.x has added composite mapper
> > and chained mapper
> > options as implementations of the FileNameMapper.
> > 
> > I can't see how to use these with the copy task
> > since copy seems to only
> > support the "mapper" nested element and the latter
> > doesn't list
> > "composite" and "chained" as appropriate types.
> > 
> > Have I missed something or is this a bug with the
> > Mapper.MapperType
> > enumeration?
> > 
> > Phil :n.
> > -- 
> > Phil Weighill-Smith
> > <[EMAIL PROTECTED]>
> > Volantis Systems
> > 
> 
> 
> 
>               
> _______________________________
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> http://promotions.yahoo.com/goldrush
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Phil Weighill-Smith <[EMAIL PROTECTED]>
Volantis Systems

Reply via email to