ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: "macrodef" for nested elements
Date Thu, 28 Apr 2005 16:32:35 GMT

--- Stefan Bodewig <bodewig@apache.org> wrote:
> On Thu, 28 Apr 2005, Peter Reilly
> <peterreilly@apache.org> wrote:
> > Matt Benson wrote:
> > 
> >>Try <presetdef> (This is probably more of a
> userlist
> >>question).
> >>
> >>
> > Does not work in this case. - tarfileset is not a
> typedef.
> 
> And even if it was you'd have to create each child
> element outside of
> the task with an id and add a tarfileset to the task
> with refid
> pointing to the outer elements.
> 
> <mytarfileset dir="${build.root}/images"
> prefix="images"
>               id="images"/>
> <mytarfileset dir="${build.root}/styles"
> prefix="styles"
>               id="styles"/>
> ...
> 
> <tar ...>
>   <tarfileset refid="images"/>
>   <tarfileset refid="styles"/>
>   ...
> </tar>
> 
> because <<tar doesn't support the nested
> "mytarfileset" element.>>.
> 

yeah, same reason I couldn't get the (doomed) clone
task to work inline.  Pity.

-Matt

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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message