ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47119] properties not expanded in default attributes
Date Thu, 30 Apr 2009 07:49:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47119





--- Comment #2 from Peter Reilly <peterreilly@apache.org>  2009-04-30 00:49:17 PST ---
properties do get resolved;
<project>
  <property name="x" value="this is x"/>
  <macrodef name="run">
    <attribute name="a" default="${x}"/>
    <sequential>
      <echo>a is @{a}</echo>
    </sequential>
  </macrodef>
  <run/>
</project>

i.e. they get resolve at the time of macro declaration,
but not at the time of macro use.

I am not sure that it is a good idea to resolve them
again at run time.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message