You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/04/24 20:50:25 UTC

DO NOT REPLY [Bug 53141] New: Documentation of Property Task (and its Javadoc) implies that loadFromXML functionality exists since 1.7.1 (it doesn't)

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: notifications@ant.apache.org
        ReportedBy: mk@etlsolutions.com
    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.

DO NOT REPLY [Bug 53141] Documentation of Property Task (and its Javadoc) implies that loadFromXML functionality exists since 1.7.1 (it doesn't)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53141

Mark Koczwara <mk...@etlsolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.8.1                       |1.8.3

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

DO NOT REPLY [Bug 53141] Documentation of Property Task (and its Javadoc) implies that loadFromXML functionality exists since 1.7.1 (it doesn't)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53141

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.9.0

--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2012-04-25 04:12:14 UTC ---
The functionality has been added for bug 42946 in svn revision 559386 - by that
time we had created a branch for 1.7.1 and the patch didn't get merged into the
branch.  The since-tags have been added later and were attributed to 1.7.1 by
accident because the patch was added before the release.

Fixed in svn revision 1330090

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

DO NOT REPLY [Bug 53141] Documentation of Property Task (and its Javadoc) implies that loadFromXML functionality exists since 1.7.1 (it doesn't)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53141

Mark Koczwara <mk...@etlsolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mk@etlsolutions.com

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