ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: Is recursive property evaluation supported?
Date Tue, 15 Apr 2008 15:08:17 GMT
On Mon, Apr 14, 2008 at 6:11 PM, Shawn Castrianni
<Shawn.Castrianni@halliburton.com> wrote:
>  So I was surprised my recursive property evaluation didn't work.

It's not. But there's a patch for it in BugZilla, and you may be able
to add it to your SVN controlled copy of Ant via an AntLib thanks to
the PropertyHelper hooks available in Ant Core. They may require you
to "invent" a new syntax for the nested expansion and also forces to
use a property prefix, but overall it's probably a doable hack.

Would like something like ${lgc:outer%inner%} for example. (using
${inner} or @{inner} it too likely to create issues I believe).

Using <propertycopy> or a custom task of your own is also an option,
probably easier ;-) --DD

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


Mime
View raw message