ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49790] New: prefix attribute is broken for <property file="..."/>
Date Fri, 20 Aug 2010 16:04:53 GMT

           Summary: prefix attribute is broken for <property file="..."/>
           Product: Ant
           Version: 1.8.1
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks

The biggest reason to use a prefix when loading a properties file, is to
prevent collisions with existing properties of the same name.

However, the behaviour I am seeing is that if there is an existing value for a
property also in the file (unprefixed name), that existing value, rather than
the value in the properties file, is assigned to the prefixed property.  This
is bad!

I've attached a short example ant script that demonstrates the problem.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message