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

             Bug #: 53141
           Summary: Documentation of Property Task (and its Javadoc)
                    implies that loadFromXML functionality exists since
                    1.7.1 (it doesn't)
           Product: Ant
           Version: 1.8.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Documentation
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


The documentation for the "property" task contains the following line:

http://ant.apache.org/manual/Tasks/property.html:
"Since Apache Ant 1.7.1 it is possible to load properties defined in xml
according to Suns DTD, if Java5+ is present. For this the name of the file,
resource or url has to end with .xml"

a) This doesn't seem to be true for 1.7.1 and I could find no indication in the
Property.java source that this was the case.

b) 1.8.1+ versions of Property.java do contain the functionality described
above (see the loadProperties method) but their Javadoc is marked @since 1.7.1

It's possible that I have misunderstood your usage of "since" (in which case:
apologies), but it has been my understanding that it means that the
functionality was present "in that version", not "after that version". Either
way, it's either a mistake or misleading.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to