/usr/share/doc/aspectj-doc/devguide/aj-ref.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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>aj</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 Development Environment Guide"><link rel="up" href="aj-ref-top.html" title="aj, the AspectJ load-time weaving script"><link rel="prev" href="aj-ref-top.html" title="aj, the AspectJ load-time weaving script"><link rel="next" href="ajbrowser.html" title="Chapter 3. AspectJ Browser"></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">aj</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="aj-ref-top.html">Prev</a> </td><th width="60%" align="center"><code class="literal">aj</code>, the AspectJ load-time weaving script</th><td width="20%" align="right"> <a accesskey="n" href="ajbrowser.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="aj-ref"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>aj — command-line launcher for basic load-time weaving</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">aj</code> [<em class="replaceable"><code>Options</code></em>] [[<em class="replaceable"><code>arg...</code></em>]]</p></div></div><div class="refsect1"><a name="aj"></a><h2>Description</h2><p>The
<span class="command"><strong>aj</strong></span> command runs Java programs in Java 1.4 or
later by setting up
<code class="literal">WeavingURLClassLoader</code> as the system class
loader, to do load-time bytecode weaving. </p><p> The arguments are the same as those used to launch the Java program.
Users should define the environment variables
<code class="literal">CLASSPATH</code> and
<code class="literal">ASPECTPATH</code>. </p><p>For more information and alternatives for load-time weaving,
see <a class="xref" href="ltw.html" title="Chapter 5. Load-Time Weaving">Load-Time Weaving</a>.
</p><div class="refsect2"><a name="idm566"></a><h3>Examples</h3><div class="example"><a name="simpleajexample"></a><p class="title"><b>Example 2.5. A simple example</b></p><div class="example-contents"><p>Use ajc to build a library, then weave at load time</p><pre class="programlisting">
REM compile library
${ASPECTJ_HOME}\bin\ajc.bat -outjar lib\aspects.jar @aspects.lst
REM run, weaving into application at load-time set
ASPECTPATH=lib\aspects.jar set CLASSPATH=app\app.jar
${ASPECTJ_HOME}\bin\aj.bat com.company.app.Main "Hello, World!"
</pre></div></div><br class="example-break"></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="aj-ref-top.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="aj-ref-top.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ajbrowser.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><code class="literal">aj</code>, the AspectJ load-time weaving script </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 3. AspectJ Browser</td></tr></table></div></body></html>
|