/usr/share/doc/libantelope-java/manual/bk03ch08.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 38 39 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 8. Unset Task</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="bk03ch07.html" title="Chapter 7. Try Task"><link rel="next" href="bk03ch09.html" title="Chapter 9. Variable 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 8. Unset Task</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bk03ch07.html">Prev</a> </td><th width="60%" align="center">Additional Ant Tasks</th><td width="20%" align="right"> <a accesskey="n" href="bk03ch09.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="Unset"></a>Chapter 8. Unset Task</h1></div></div></div>
@style@
<p>
The Unset task provides easier access to one of the most used use cases of <a class="link" href="bk03ch09.html" title="Chapter 9. Variable Task">Variable</a>, the ability to unset a property. By design, Ant properties are immutable, but sometimes it is handy to set a property to a new value.
</p><p>
To use this task in your build files, include a task definition like this:
</p><p>
</p><pre class="programlisting">
<taskdef name="unset" classname="ise.antelope.tasks.Unset"/>
</pre><p>
</p><p>
</p><div class="table"><a name="idm1221"></a><p class="title"><b>Table 8.1. Unset Task Attributes</b></p><div class="table-contents"><table class="table" summary="Unset 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 the property to unset.</td><td>None</td><td>Yes, unless 'file' is used.</td></tr><tr><td>file</td><td>The name of a property file. All properties references in the file will be unset. This means you can load a bunch of properties from a file, then unset them all with a single line.</td><td>None</td><td>Yes, unless 'name' is used.</td></tr></tbody></table></div></div><p><br class="table-break">
</p><p>
Example:
</p><pre class="programlisting">
<project name="unset_example" basedir=".">
<taskdef resource="ise/antelope/tasks/antlib.xml"/>
<property name="x" value="6"/>
<echo>original value = ${x}</echo>
<unset name="x"/>
<echo>unset: ${x}</echo>
<property name="x" value="hello"/>
<echo>new value = ${x}</echo>
</project>
$ ant -f unset_example.xml
Buildfile: unset_example.xml
[echo] original value = 6
[echo] unset: ${x}
[echo] new value = hello
BUILD SUCCESSFUL
Total time: 0 seconds
</pre><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk03ch07.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="bk03ch09.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 7. Try Task </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 9. Variable Task</td></tr></table></div></body></html>
|