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 47035] Property expansion in macro attributes and elements
Date Thu, 16 Apr 2009 15:04:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47035


Matt Benson <gudnabrsam@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Matt Benson <gudnabrsam@yahoo.com>  2009-04-16 08:04:08 PST ---
Uh... Red herring alert:  I think the reason your attribute is not expanded is
because you're not using it:

<macrodef name="create-exe">
    <attribute name="java-initial-memory"/>
    <sequential>
        <launch4j>
            <config>
                <jre>
                    <opt>-Xms@{java.initial.memory}m</opt>
                </jre>
            </config>
        </launch4j>
    </sequential>
</macrodef>

This should be:

<macrodef name="create-exe">
    <attribute name="java-initial-memory"/>
    <sequential>
        <launch4j>
            <config>
                <jre>
                    <opt>-Xms@{java-initial-memory}m</opt>
                </jre>
            </config>
        </launch4j>
    </sequential>
</macrodef>

-- 
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