ehatcher 02/04/16 18:36:39
Modified: docs/manual listeners.html
Log:
document changes to XmlLogger
Revision Changes Path
1.8 +11 -5 jakarta-ant/docs/manual/listeners.html
Index: listeners.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/listeners.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- listeners.html 23 Mar 2002 19:52:30 -0000 1.7
+++ listeners.html 17 Apr 2002 01:36:39 -0000 1.8
@@ -80,7 +80,7 @@
<tr>
<td width="33%"><code><a
href="#XmlLogger">org.apache.tools.ant.XmlLogger</a></code></td>
<td width="33%">Writes the build information to an XML file.</td>
- <td width="34%">BuildListener</td>
+ <td width="34%">BuildLogger</td>
</tr>
</table>
<h3><a name="DefaultLogger">DefaultLogger</a></h3>
@@ -269,10 +269,15 @@
<h3><a name="XmlLogger">XmlLogger</a></h3>
<p>Writes all build information out to an XML file named log.xml, or the
value
-of the <code>XmlLogger.file</code> property if present.
+of the <code>XmlLogger.file</code> 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 <code>-logfile</code>. 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.
<p>
-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
<code>ant.XmlLogger.stylesheet.uri</code> 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 @@
<blockquote>
-<p><code>ant -listener org.apache.tools.ant.XmlLogger</code></p>
+<p><code>ant -listener org.apache.tools.ant.XmlLogger</code><br/>
+<code>ant -logger org.apache.tools.ant.XmlLogger -verbose -logfile
build_log.xml</code></p>
</blockquote>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>