/usr/share/doc/libantelope-java/manual/bk03ch21.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 29 30 31 32 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 21. Call Task</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="bk03ch20.html" title="Chapter 20. AntCallBack"><link rel="next" href="bk03ch22.html" title="Chapter 22. Grep 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 21. Call Task</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bk03ch20.html">Prev</a> </td><th width="60%" align="center">Additional Ant Tasks</th><td width="20%" align="right"> <a accesskey="n" href="bk03ch22.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="calltask"></a>Chapter 21. Call Task</h1></div></div></div>
@style@
<p>
This is the simplest and possibly the most obvious of the "call" type of tasks. It simply calls a target in the current build file and provides exactly the functionality expected by many users of "antcall".
</p><p>
To use this task in your build files, include a task definition like this:
</p><pre class="programlisting">
<taskdef name="call" classname="ise.antelope.tasks.Call"/>
</pre><p>
</p><p>
There is only one attribute, that is the name of the target to call.
</p><div class="table"><a name="idp62688096"></a><p class="title"><b>Table 21.1. Call Task Attributes</b></p><div class="table-contents"><table summary="Call 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>target</td><td>The name of a target to execute.</td><td>None</td><td>Yes</td></tr></tbody></table></div></div><p><br class="table-break">
</p><p>
There is none of the weird property manipulation done by "ant", "antcall", "antfetch", or "antcallback", and none of the overhead. When you call a target, any properties set in that target are immediately available in the calling target. A simple example should be all that is necessary:
</p><pre class="programlisting">
<target name="test" description="Test Call">
<call target="called"/>
<echo>a = ${a}</echo>
<echo>b = ${b}</echo>
</target>
<target name="called">
<property name="a" value="A"/>
<property name="b" value="B"/>
</target>
</pre><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk03ch20.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="bk03ch22.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 20. AntCallBack </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 22. Grep Task</td></tr></table></div></body></html>
|