Waiting too long with a step like this would force us to deprecate it first, I hope only a few people have been using <recorder> yet. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268941 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -13,7 +13,7 @@ Changes that could break older environments: | |||||
| Other changes: | Other changes: | ||||
| -------------- | -------------- | ||||
| * New tasks: ear, p4counter, recorder | |||||
| * New tasks: ear, p4counter, record | |||||
| * Ant now uses JAXP 1.1 | * Ant now uses JAXP 1.1 | ||||
| @@ -7,7 +7,7 @@ | |||||
| <body> | <body> | ||||
| <h2><a name="log">Recorder</a></h2> | |||||
| <h2><a name="log">Record</a></h2> | |||||
| <h3>Description</h3> | <h3>Description</h3> | ||||
| <p>A recorder is a listener to the current build process that records the | <p>A recorder is a listener to the current build process that records the | ||||
| output to a file. | output to a file. | ||||
| @@ -70,21 +70,21 @@ to record just the <code><javac></code> task: | |||||
| <pre> | <pre> | ||||
| ... | ... | ||||
| <compile > | <compile > | ||||
| <recorder name="log.txt" action="start" /> | |||||
| <record name="log.txt" action="start" /> | |||||
| <javac ... | <javac ... | ||||
| <recorder name="log.txt" action="stop" /> | |||||
| <record name="log.txt" action="stop" /> | |||||
| <compile/> | <compile/> | ||||
| ... | ... | ||||
| </pre> | </pre> | ||||
| <p>The following two calls to <code><recorder></code> set up two | |||||
| <p>The following two calls to <code><record></code> set up two | |||||
| recorders: one to file "records-simple.log" at logging level <code>info</code> | recorders: one to file "records-simple.log" at logging level <code>info</code> | ||||
| (the default) and one to file "ISO.log" using logging level of | (the default) and one to file "ISO.log" using logging level of | ||||
| <code>verbose</code>. | <code>verbose</code>. | ||||
| <pre> | <pre> | ||||
| ... | ... | ||||
| <recorder name="records-simple.log" /> | |||||
| <recorder name="ISO.log" loglevel="verbose" /> | |||||
| <record name="records-simple.log" /> | |||||
| <record name="ISO.log" loglevel="verbose" /> | |||||
| ... | ... | ||||
| </pre> | </pre> | ||||
| @@ -49,7 +49,7 @@ | |||||
| <a href="CoreTasks/move.html">Move</a><br> | <a href="CoreTasks/move.html">Move</a><br> | ||||
| <a href="CoreTasks/patch.html">Patch</a><br> | <a href="CoreTasks/patch.html">Patch</a><br> | ||||
| <a href="CoreTasks/property.html">Property</a><br> | <a href="CoreTasks/property.html">Property</a><br> | ||||
| <a href="CoreTasks/recorder.html">Recorder</a><br> | |||||
| <a href="CoreTasks/recorder.html">Record</a><br> | |||||
| <a href="CoreTasks/rename.html"><i>Rename</i></a><br> | <a href="CoreTasks/rename.html"><i>Rename</i></a><br> | ||||
| <a href="CoreTasks/replace.html">Replace</a><br> | <a href="CoreTasks/replace.html">Replace</a><br> | ||||
| <a href="CoreTasks/rmic.html">Rmic</a><br> | <a href="CoreTasks/rmic.html">Rmic</a><br> | ||||
| @@ -43,7 +43,7 @@ fail=org.apache.tools.ant.taskdefs.Exit | |||||
| war=org.apache.tools.ant.taskdefs.War | war=org.apache.tools.ant.taskdefs.War | ||||
| uptodate=org.apache.tools.ant.taskdefs.UpToDate | uptodate=org.apache.tools.ant.taskdefs.UpToDate | ||||
| apply=org.apache.tools.ant.taskdefs.Transform | apply=org.apache.tools.ant.taskdefs.Transform | ||||
| recorder=org.apache.tools.ant.taskdefs.Recorder | |||||
| record=org.apache.tools.ant.taskdefs.Recorder | |||||
| # optional tasks | # optional tasks | ||||
| script=org.apache.tools.ant.taskdefs.optional.Script | script=org.apache.tools.ant.taskdefs.optional.Script | ||||