--- Remie Bolte <[EMAIL PROTECTED]> wrote:

> Thanks for the input!
> 
> I found a different way to deal with the problem,
> without hacks :)
> Sometimes it is useful not to be able to find a
> solution, it allows you to
> look back a couple of steps.
> 
> However, I do still have the question why double
> expanding is not
> implemented. Is there a conceptual issue, are there
> strong arguments not to
> implement it, or is it just hard to do?
> 

It's a matter of preference:  the majority of Ant's
developers aren't keen on having the functionality. 
Further, while the syntax ${${foo}.bar} seems
straightforward, it is arguably ambiguous.  You can
choose to believe that this is a nested property
expression, but some might disagree and see things
differently.  In any event, Ant's property handling
API has been redesigned to accommodate this, and it is
available in the experimental props antlib, which
rather than being considered a hack, is a way to
support this use case at the user's discretion without
forcing it on all Ant users.

HTH,
Matt

> Cheers,
> 
> Remie
> 
> On Tue, Nov 4, 2008 at 9:32 PM, Gilbert Rebhan
> <[EMAIL PROTECTED]> wrote:
> 
> > [EMAIL PROTECTED] schrieb:
> > >> I saw the FAQ, but the workaround deals with
> making a new
> > >> property, which is
> > >> not something that is desirable in my
> situation.
> > >> Is there a reason that double expanding is not
> implemented?
> > >
> > > There is an implementation in the sandbox
> bundled as an AntLib.
> > > You could give it try:
> > >
> > >
> > > Root
> > >
>
http://svn.apache.org/viewvc/ant/sandbox/antlibs/props/trunk/
> > >
> > > Doc
> > >
>
http://svn.apache.org/viewvc/ant/sandbox/antlibs/props/trunk/docs/index.
> > > html?view=co
> >
> > There's also a hack via <var> task from
> antcontrib, see =
> > http://marc.info/?l=ant-user&m=121318477419672&w=2
> >
> > Regards, Gilbert
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 



      

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to