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 2003/09/13 03:00:59 UTC

DO NOT REPLY [Bug 23149] New: - Example in PropertyFile task documentation is incorrect.

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=23149>.
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=23149

Example in PropertyFile task documentation is incorrect.

           Summary: Example in PropertyFile task documentation is incorrect.
           Product: Ant
           Version: 1.5.4
          Platform: All
               URL: http://www.xdweb.net/~dibblego/resume
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Documentation
        AssignedTo: dev@ant.apache.org
        ReportedBy: tonymorr@au1.ibm.com


The documentation presents the following example. There is an equals sign 
missing between the "comment" attribute and its value.
(I know it's being pedantic, but for people like myself who copy/paste the 
examples and mess around with them, it helps if they come working).

<propertyfile
    file="my.properties"
    comment"My properties">
  <entry  key="akey" value="avalue"/>
  <entry  key="adate" type="date" value="now"/>
  <entry  key="anint" type="int" operation="+"/>
  <entry  key="formated.int" type="int" default="0013" operation="+" 
pattern="0000"/>
  <entry  key="formated.date" type="date" value="now" pattern="DDD HH:mm"/>
</propertyfile>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org