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 3955] New: - <propertyfile> entry does not use 'default' attribute appropriately
Date Wed, 03 Oct 2001 23:27:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3955

<propertyfile> entry does not use 'default' attribute appropriately

           Summary: <propertyfile> entry does not use 'default' attribute
                    appropriately
           Product: Ant
           Version: 1.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: jakarta@ehatchersolutions.com


Example: Property file does not contain "test.prop" at all

<propertyfile file="test.properties">
  <entry key="test.prop" default="some value"/>
</propertyfile>

The value written to the property file will be "1".

Also, the documentation needs to be adjusted as it says the 'value' attribute 
on <entry> is required when its not.

Mime
View raw message