/usr/share/doc/libantelope-java/manual/bk02ch09.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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 9. Example Build File</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="bk02ch08.html" title="Chapter 8. Comments"><link rel="next" href="bk03.html" title="Additional Ant Tasks"></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 9. Example Build File</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bk02ch08.html">Prev</a> </td><th width="60%" align="center">Ant Coding Style Guidelines</th><td width="20%" align="right"> <a accesskey="n" href="bk03.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="idm691"></a>Chapter 9. Example Build File</h1></div></div></div><p>
The following example build file follows these guidelines. This build file would be stored on disk as "MyProject.xml".
</p><p>
</p><pre class="programlisting">
<project name="MyProject" default="dist" basedir=".">
<description>
simple example build file
</description>
<!-- set global properties for this build -->
<!-- where the source files are -->
<property name="src" location="src"/>
<!-- where the compiled classes go -->
<property name="build" location="build"/>
<!-- where to place the finished jar file -->
<property name="dist" location="dist"/>
<!-- ========== Dist Target ===================================
The dist target compiles all the source code and creates
a jar file for distribution.
-->
<target name="dist" depends="clean, compile"
description="generate the distribution" >
<!-- Create the distribution directory -->
<mkdir dir="${dist}/lib"/>
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar
file -->
<jar jarfile="${dist}/lib/MyProject-${DSTAMP}.jar"
basedir="${build}"/>
</target>
<!-- ========== Init Target ====================================
This target initializes the build by creating a time stamp
for use in the jar file name and creating the directory
to hold the compiled classes.
-->
<target name="-init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
</target>
<!-- ========== Compile Target =================================
The compile target compiles all files in the source directory
into the build directory.
-->
<target name="compile" depends="-init"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}"/>
</target>
<!-- ========== Clean Target ====================================
The clean target deletes all files from the build directory
and the dist directory.
-->
<target name="clean" description="clean up" >
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>
</pre><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk02ch08.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="bk03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 8. Comments </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Additional Ant Tasks</td></tr></table></div></body></html>
|