You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@apache.org on 2002/02/22 07:05:43 UTC
cvs commit: jakarta-velocity-dvsl/xdocs ant_task_reference.xml
geirm 02/02/21 22:05:43
Modified: xdocs ant_task_reference.xml
Log:
Patch from Bill Burton <bi...@progress.com> for his cool AntLogger for DVSL
Revision Changes Path
1.3 +47 -2 jakarta-velocity-dvsl/xdocs/ant_task_reference.xml
Index: ant_task_reference.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity-dvsl/xdocs/ant_task_reference.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ant_task_reference.xml 20 Feb 2002 05:33:02 -0000 1.2
+++ ant_task_reference.xml 22 Feb 2002 06:05:43 -0000 1.3
@@ -5,8 +5,6 @@
<properties>
<title>DVSL Ant Task Reference</title>
<author email="billb@progress.com">Bill Burton</author>
- <meta http-equiv="Content-Language" content="en-us" />
- <base href="http://jakarta.apache.org/ant/manual/CoreTasks/" />
</properties>
<body>
@@ -55,6 +53,39 @@
DVSL supports the use of a <tool> element which is used to pass values
to the DVSL toolbox configuration.
</p>
+ <p>All Velocity messages are routed through Ant's logging system but
+ will only be output if their level exceeds that of Ant's current logging
+ level. By default, this means Velocity informational messages are
+ suppressed while warning and error messages are output. The following
+ table shows the mapping between Ant logging options and the corresponding
+ levels of Velocity messages which are output.
+ </p>
+ <table border="1" cellpadding="2" cellspacing="0">
+ <tr>
+ <td valign="top"><b>Ant Logging Option</b></td>
+ <td valign="top"><b>Velocity Messages Output</b></td>
+ </tr>
+ <tr>
+ <td valign="top"><code>-quiet</code></td>
+ <td valign="top">errors</td>
+ </tr>
+ <tr>
+ <td valign="top"><code>no option</code></td>
+ <td valign="top">errors, warnings</td>
+ </tr>
+ <tr>
+ <td valign="top"><code>-verbose</code></td>
+ <td valign="top">errors, warnings, informational</td>
+ </tr>
+ <tr>
+ <td valign="top"><code>-debug</code></td>
+ <td valign="top">errors, warnings, informational, debug</td>
+ </tr>
+ </table>
+ <p>If the <code>logfile</code> attribute is specified to this task,
+ all Velocity messages are written to the specified log file without
+ regard to any logging option specified to Ant.
+ </p>
</section>
@@ -150,6 +181,20 @@
<td valign="top">specifies the output name for the styled result from the
in attribute.</td>
<td valign="top" align="center">No</td>
+ </tr>
+ <tr>
+ <td valign="top">outputencoding</td>
+ <td valign="top">encoding to be used for output files. If not
+ specified, the default is UTF-8.</td>
+ <td align="center" valign="top">No</td>
+ </tr>
+ <tr>
+ <td valign="top">logfile</td>
+ <td valign="top">log file for Velocity messages. The default is to
+ log through Ant's logging system but limit output based on Ant's
+ logging level. Specifying this attribute causes all Velocity
+ messages to be sent to the specified file instead.</td>
+ <td align="center" valign="top">No</td>
</tr>
<tr>
<td valign="top">toolboxfile</td>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>