This file is indexed.

/usr/share/doc/libantelope-java/manual/bk03ch06.html is in libantelope-java-doc 3.5.1-4.

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
29
30
31
32
33
34
35
36
37
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 6. SwitchTask</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.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="bk03ch05s02.html" title="More Conditions"><link rel="next" href="bk03ch07.html" title="Chapter 7. Try Task"></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 6. SwitchTask</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bk03ch05s02.html">Prev</a> </td><th width="60%" align="center">Additional Ant Tasks</th><td width="20%" align="right"> <a accesskey="n" href="bk03ch07.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="switch"></a>Chapter 6. SwitchTask</h1></div></div></div>
@style@
    <p>
The "Switch" task works much like the Java "switch" construct. It supports nested "case" elements, which in turn, support nested "break" elements. There is also a "default" case element, so this should be very natural for Java developers to use.
</p><p>
</p><div class="table"><a name="idm1125"></a><p class="title"><b>Table 6.1. Switch Task Attributes</b></p><div class="table-contents"><table class="table" summary="Switch 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 of a property whose value will be used for the switch.</td><td>None</td><td>Yes</td></tr></tbody></table></div></div><p><br class="table-break">
</p><p>
</p><div class="table"><a name="idm1141"></a><p class="title"><b>Table 6.2. "case" and "default" Attributes</b></p><div class="table-contents"><table class="table" summary='"case" and "default" 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>value</td><td>The value of of the property used for the switch. If this value equals the property value, then all tasks in this 'case' will be executed.</td><td>None</td><td>Yes</td></tr></tbody></table></div></div><p><br class="table-break">
</p><p>
</p><pre class="programlisting">

&lt;property name="foo" value="bar"/&gt;
&lt;switch name="foo"&gt;
    &lt;case value="baz"&gt;
        &lt;echo&gt;Executing case baz&lt;/echo&gt;
        &lt;break/&gt;
    &lt;/case&gt;
    &lt;case value="bar"&gt;
        &lt;echo&gt;Executing case bar&lt;/echo&gt;
        &lt;if name="foo" value="bar"&gt;
            &lt;echo&gt;breaking from the if&lt;/echo&gt;
            &lt;break/&gt;
        &lt;/if&gt;
        &lt;echo&gt;Falling through to case "bat"&lt;/echo&gt;
    &lt;/case&gt;
    &lt;case value="bat"&gt;
        &lt;echo&gt;Executing case bat&lt;/echo&gt;
        &lt;break/&gt;
    &lt;/case&gt;
    &lt;default&gt;
        &lt;echo&gt;Executing default case&lt;/echo&gt;
        &lt;break/&gt;
    &lt;/default&gt;
&lt;/switch&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="bk03ch05s02.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="bk03ch07.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">More Conditions </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 7. Try Task</td></tr></table></div></body></html>