ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38040] - <presetdef> inherited across <ant> even when properties are not
Date Mon, 26 Dec 2005 16:18:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38040>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38040


jglick@netbeans.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX
   Target Milestone|---                         |1.6.5




------- Additional Comments From jglick@netbeans.org  2005-12-26 17:18 -------
Found a workaround, though it is a bit exotic: replace

        <presetdef name="echo">
            <echo level="${l}"/>
        </presetdef>

with

        <macrodef name="def-echo">
            <attribute name="mval"/>
            <sequential>
                <presetdef name="echo">
                    <echo message="@{mval}"/>
                </presetdef>
            </sequential>
        </macrodef>
        <def-echo mval="${m}"/>

This forces ${m} to be evaluated during the presetdef itself.

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

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


Mime
View raw message