From cee952f3678168cc0b59f909f04008e7e38949a8 Mon Sep 17 00:00:00 2001
From: Erik Hatcher
org.apache.tools.ant.XmlLogger
Writes all build information out to an XML file named log.xml, or the value
-of the XmlLogger.file
property if present.
+of the XmlLogger.file
property if present, when used as a
+listener. When used as a logger, it writes all output to either the
+console or to the value of -logfile
. Whether used as a listener
+or logger, the output is not generated until the build is complete, as it
+buffers the information in order to provide timing information for task,
+targets, and the project.
-By default the xml file creates
-a reference to an xslt file "log.xsl" in the current directory; look in
+By default the XML file creates
+a reference to an XSLT file "log.xsl" in the current directory; look in
ANT_HOME/etc for one of these. You can set the property
ant.XmlLogger.stylesheet.uri
to provide a uri to a style sheet.
this can be a relative or absolute file path, or an http URL.
@@ -286,7 +291,8 @@ is declared at all.
-+
ant -listener org.apache.tools.ant.XmlLogger
ant -listener org.apache.tools.ant.XmlLogger
+ant -logger org.apache.tools.ant.XmlLogger -verbose -logfile build_log.xml