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 49790] prefix attribute is broken for <property file="..."/>
Date Fri, 20 Aug 2010 16:09:46 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49790

Owen Nichols <owennnn@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

--- Comment #1 from Owen Nichols <owennnn@hotmail.com> 2010-08-20 12:09:43 EDT ---
bugzilla is refusing to allow me to add an attachment to this bug, so I'll
paste the ant script to reproduce here:

<project default="showBug">
    <target name="showBug">
        <echo message="mood: Happy" file="my.properties"/>
        <property name="mood" value="Sad"/>
        <property file="my.properties" prefix="my"/>
        <echo message="Expected: mood=Sad, my.mood=Happy"/>
        <echo message="  Actual: mood=${mood}, my.mood=${my.mood}"/>
        <!-- with ant 1.8.1, I get Actual: mood=Sad, my.mood=Sad -->
    </target>
</project>

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