Browse Source

<properties> started to support loading XML files with 1.8.0 not 1.7.1. PR 53141

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1330090 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 13 years ago
parent
commit
8d4736cfcb
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      manual/Tasks/property.html
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Property.java

+ 1
- 1
manual/Tasks/property.html View File

@@ -58,7 +58,7 @@ properties. These references are resolved at the time these properties are set.
This also holds for properties loaded from a property file.</p>
<p>A list of predefined properties can be found <a
href="../properties.html#built-in-props">here</a>.</p>
<p>Since Apache Ant 1.7.1 it is possible to load properties defined in xml
<p>Since Apache Ant 1.8.0 it is possible to load properties defined in xml
according to <a href="http://java.sun.com/dtd/properties.dtd">Suns DTD</a>,
if Java5+ is present. For this the name of the file, resource or url has
to end with <tt>.xml</tt>.</p>


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Property.java View File

@@ -555,7 +555,7 @@ public class Property extends Task {
* @param is The input stream from where to load
* @param isXml <tt>true</tt> if we should try to load from xml
* @throws IOException if something goes wrong
* @since 1.7.1
* @since 1.8.0
* @see http://java.sun.com/dtd/properties.dtd
* @see java.util.Properties#loadFromXML(InputStream)
*/


Loading…
Cancel
Save