You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/10/04 01:27:02 UTC

DO NOT REPLY [Bug 3955] New: - entry does not use 'default' attribute appropriately

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.