This file is indexed.

/usr/share/doc/aspectj-doc/progguide/examples-howto.html is in aspectj-doc 1.8.9-2.

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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Obtaining, Compiling and Running the Examples</title><link rel="stylesheet" type="text/css" href="aspectj-docs.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="The AspectJTM Programming Guide"><link rel="up" href="examples.html" title="Chapter 3. Examples"><link rel="prev" href="examples.html" title="Chapter 3. Examples"><link rel="next" href="examples-basic.html" title="Basic Techniques"></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">Obtaining, Compiling and Running the Examples</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="examples.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Examples</th><td width="20%" align="right"> <a accesskey="n" href="examples-basic.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="examples-howto"></a>Obtaining, Compiling and Running the Examples</h2></div></div></div><p>
      The examples source code is part of the AspectJ distribution which may be
      downloaded from the AspectJ project page ( <a class="ulink" href="http://eclipse.org/aspectj" target="_top">http://eclipse.org/aspectj</a> ).
    </p><p>
      Compiling most examples is straightforward. Go the
      <code class="filename"><em class="replaceable"><code>InstallDir</code></em>/examples</code>
      directory, and look for a <code class="filename">.lst</code> file in one of
      the example subdirectories. Use the <code class="literal">-arglist</code>
      option to <code class="literal">ajc</code> to compile the example. For
      instance, to compile the telecom example with billing, type
    </p><pre class="programlisting">
ajc -argfile telecom/billing.lst
</pre><p>
      To run the examples, your classpath must include the AspectJ run-time
      Java archive (<code class="literal">aspectjrt.jar</code>). You may either set the
      <code class="literal">CLASSPATH</code> environment variable or use the
      <code class="literal">-classpath</code> command line option to the Java
      interpreter:
    </p><pre class="programlisting">
(In Unix use a : in the CLASSPATH)
java -classpath ".:<em class="replaceable"><code>InstallDir</code></em>/lib/aspectjrt.jar" telecom.billingSimulation
</pre><pre class="programlisting">
(In Windows use a ; in the CLASSPATH)
java -classpath ".;<em class="replaceable"><code>InstallDir</code></em>/lib/aspectjrt.jar" telecom.billingSimulation
</pre></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="examples.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="examples.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="examples-basic.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 3. Examples </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Basic Techniques</td></tr></table></div></body></html>