Browse Source

Rename <recorder> ro <record>.

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-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
fdde39136d
4 changed files with 9 additions and 9 deletions
  1. +1
    -1
      WHATSNEW
  2. +6
    -6
      docs/manual/CoreTasks/recorder.html
  3. +1
    -1
      docs/manual/coretasklist.html
  4. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/defaults.properties

+ 1
- 1
WHATSNEW View File

@@ -13,7 +13,7 @@ Changes that could break older environments:
Other changes:
--------------

* New tasks: ear, p4counter, recorder
* New tasks: ear, p4counter, record

* Ant now uses JAXP 1.1



+ 6
- 6
docs/manual/CoreTasks/recorder.html View File

@@ -7,7 +7,7 @@

<body>

<h2><a name="log">Recorder</a></h2>
<h2><a name="log">Record</a></h2>
<h3>Description</h3>
<p>A recorder is a listener to the current build process that records the
output to a file.
@@ -70,21 +70,21 @@ to record just the <code>&lt;javac&gt;</code> task:
<pre>
...
&lt;compile &gt;
&lt;recorder name="log.txt" action="start" /&gt;
&lt;record name="log.txt" action="start" /&gt;
&lt;javac ...
&lt;recorder name="log.txt" action="stop" /&gt;
&lt;record name="log.txt" action="stop" /&gt;
&lt;compile/&gt;
...
</pre>

<p>The following two calls to <code>&lt;recorder&gt;</code> set up two
<p>The following two calls to <code>&lt;record&gt;</code> set up two
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
<code>verbose</code>.
<pre>
...
&lt;recorder name="records-simple.log" /&gt;
&lt;recorder name="ISO.log" loglevel="verbose" /&gt;
&lt;record name="records-simple.log" /&gt;
&lt;record name="ISO.log" loglevel="verbose" /&gt;
...
</pre>



+ 1
- 1
docs/manual/coretasklist.html View File

@@ -49,7 +49,7 @@
<a href="CoreTasks/move.html">Move</a><br>
<a href="CoreTasks/patch.html">Patch</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/replace.html">Replace</a><br>
<a href="CoreTasks/rmic.html">Rmic</a><br>


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/defaults.properties View File

@@ -43,7 +43,7 @@ fail=org.apache.tools.ant.taskdefs.Exit
war=org.apache.tools.ant.taskdefs.War
uptodate=org.apache.tools.ant.taskdefs.UpToDate
apply=org.apache.tools.ant.taskdefs.Transform
recorder=org.apache.tools.ant.taskdefs.Recorder
record=org.apache.tools.ant.taskdefs.Recorder

# optional tasks
script=org.apache.tools.ant.taskdefs.optional.Script


Loading…
Cancel
Save