ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53241] property substitution in macrodef failing
Date Sun, 17 Jun 2012 05:45:00 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53241

Stefan Bodewig <bodewig@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX
                 OS|                            |All

--- Comment #1 from Stefan Bodewig <bodewig@apache.org> ---
This is what happens: Everytime you write @text in your macro2 it gets replaced
with ${print.this} and them properties get expanded so you see "execute this". 
In the last case you end up with ${output-${print.this}} before expansion and
Ant doesn't do any nested peoperty expansion - so this is the expected
behavior.

You should be able to use the props Antlib for a propertyhelper that supports
nested property expansion or rewrite your macro to not nest properties, for
example by using a local property as outputproperty.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message