/usr/share/doc/libantelope-java/manual/bk02ch07.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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 7. Tasks</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="bk02.html" title="Ant Coding Style Guidelines"><link rel="prev" href="bk02ch06.html" title="Chapter 6. Targets"><link rel="next" href="bk02ch08.html" title="Chapter 8. Comments"></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 7. Tasks</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bk02ch06.html">Prev</a> </td><th width="60%" align="center">Ant Coding Style Guidelines</th><td width="20%" align="right"> <a accesskey="n" href="bk02ch08.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="idm666"></a>Chapter 7. Tasks</h1></div></div></div><p>
Avoid use of the "exec" task if possible as this reduces portability.
</p><p>
This is bad as it assumes that the 'tar' utility is installed on the current path:
</p><p>
</p><pre class="programlisting">
<exec executable="tar" dir="${java.tmp.dir}/libraries">
<arg line="-xzf ${build_dir}/${libraries_tar}"/>
</exec>
</pre><p>
</p><p>
This is good:
</p><p>
</p><pre class="programlisting">
<untar src="${build_dir}/${libraries_tar}" compression="gzip"
dest="${java.tmp.dir}/libraries"/>
</pre><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk02ch06.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="bk02ch08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 6. Targets </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 8. Comments</td></tr></table></div></body></html>
|