From 8d4736cfcb8201a54c8cb7cb6d4c81e4c87c9f82 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
A list of predefined properties can be found here.
-Since Apache Ant 1.7.1 it is possible to load properties defined in xml +
Since Apache Ant 1.8.0 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.
diff --git a/src/main/org/apache/tools/ant/taskdefs/Property.java b/src/main/org/apache/tools/ant/taskdefs/Property.java index 22f926c9a..30e41703b 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Property.java +++ b/src/main/org/apache/tools/ant/taskdefs/Property.java @@ -555,7 +555,7 @@ public class Property extends Task { * @param is The input stream from where to load * @param isXml true 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) */