You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2012/04/25 06:11:11 UTC
svn commit: r1330090 - in /ant/core/trunk: manual/Tasks/property.html
src/main/org/apache/tools/ant/taskdefs/Property.java
Author: bodewig
Date: Wed Apr 25 04:11:10 2012
New Revision: 1330090
URL: http://svn.apache.org/viewvc?rev=1330090&view=rev
Log:
<properties> started to support loading XML files with 1.8.0 not 1.7.1. PR 53141
Modified:
ant/core/trunk/manual/Tasks/property.html
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
Modified: ant/core/trunk/manual/Tasks/property.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/manual/Tasks/property.html?rev=1330090&r1=1330089&r2=1330090&view=diff
==============================================================================
--- ant/core/trunk/manual/Tasks/property.html (original)
+++ ant/core/trunk/manual/Tasks/property.html Wed Apr 25 04:11:10 2012
@@ -58,7 +58,7 @@ properties. These references are resolve
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>
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java?rev=1330090&r1=1330089&r2=1330090&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java Wed Apr 25 04:11:10 2012
@@ -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)
*/