--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 6:11 PM, Shawn Castrianni > <[EMAIL PROTECTED]> 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.
Actually, to the best of my knowledge, the patch in BZ was made obsolete with the changes to PropertyHelper + the props sandbox antlib, which provides a NestedPropertyExpander. See http://ant.apache.org/antlibs/sandbox.html#Props%20-%20additional%20Property%20Resolver for more info. HTH, Matt > > 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: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]