You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/08/20 18:09:46 UTC

DO NOT REPLY [Bug 49790] prefix attribute is broken for

https://issues.apache.org/bugzilla/show_bug.cgi?id=49790

Owen Nichols <ow...@hotmail.com> changed:

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

--- Comment #1 from Owen Nichols <ow...@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.