This file is indexed.

/usr/share/doc/libantelope-java/manual/bk03ch10.html is in libantelope-java-doc 3.5.1-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 10. Stopwatch</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Antelope Users Guide"><link rel="up" href="bk03.html" title="Additional Ant Tasks"><link rel="prev" href="bk03ch09.html" title="Chapter 9. Variable Task"><link rel="next" href="bk03ch11.html" title="Chapter 11. Limit"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 10. Stopwatch</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bk03ch09.html">Prev</a> </td><th width="60%" align="center">Additional Ant Tasks</th><td width="20%" align="right"> <a accesskey="n" href="bk03ch11.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="stopwatch"></a>Chapter 10. Stopwatch</h1></div></div></div>
@style@
    <p>
The Stopwatch task makes it easy to add performance timing to Ant targets. Stopwatches are named so that multiple watches can run simultaneously.
</p><p>
To use this task in your build files, include a task definition like this:
</p><p>
</p><pre class="programlisting">

    &lt;taskdef name="stopwatch" classname="ise.antelope.tasks.StopWatchTask"/&gt;
   
</pre><p>
</p><p>
</p><div class="table"><a name="idp62337696"></a><p class="title"><b>Table 10.1. Stopwatch Task Attributes</b></p><div class="table-contents"><table summary="Stopwatch Task Attributes" border="1"><colgroup><col><col><col><col></colgroup><thead><tr><th>Attribute</th><th>Description</th><th>Default</th><th>Required</th></tr></thead><tbody><tr><td>name</td><td>The name for the stopwatch. The elapsed time or total time will be stored as an Ant property with this name.</td><td>None</td><td>Yes</td></tr><tr><td>action</td><td>Valid values are "start", "stop", "elapsed", and "total".</td><td>"start"</td><td>No</td></tr></tbody></table></div></div><p><br class="table-break">
</p><p>
The stopwatch is started with the "start" action. When the action is "elapsed" or "total", the running time of the stopwatch is printed out. Both "stop" and "total" stop the stopwatch and reset it to zero. "elapsed" prints out the current running time of the stopwatch without stopping it.
</p><p>
Example:
</p><pre class="programlisting">

&lt;stopwatch name="timer1"/&gt;
&lt;!-- do some tasks here... --&gt;
&lt;stopwatch name="timer1" action="elapsed"/&gt; &lt;!-- print the elapsed time --&gt;
&lt;!-- do some more tasks here... --&gt;
&lt;stopwatch name="timer1" action="total"/&gt; &lt;!-- print out the total time --&gt;

</pre><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk03ch09.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="bk03ch11.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 9. Variable Task </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 11. Limit</td></tr></table></div></body></html>