File: aj.sgml

package info (click to toggle)
aspectj 1.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 43,412 kB
  • sloc: java: 558,715; xml: 26,625; sh: 540; makefile: 43
file content (53 lines) | stat: -rw-r--r-- 1,688 bytes parent folder | download | duplicates (7)
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
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.3//EN">
<!-- this file is based on:                              -->
<!--  aspectj/org.aspectj/modules/docs/devGuideDB/aj.xml -->
<!-- it was slightly modified to cover aj5               -->
<refentry id="aj-ref" xreflabel="The aj Command-line Reference">
  <refmeta>
    <refentrytitle>aj</refentrytitle>
    <manvolnum>1</manvolnum>
  </refmeta>

  <refnamediv>
    <refname>aj, aj5</refname>
    <refpurpose>command-line launchers for load-time weaving</refpurpose>
  </refnamediv>  

  <refsynopsisdiv>
    <cmdsynopsis>
       <command>aj</command>
      <arg><replaceable>Options</replaceable></arg>
      <group>
        <arg><replaceable>arg...</replaceable></arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis>
       <command>aj5</command>
      <arg><replaceable>Options</replaceable></arg>
      <group>
        <arg rep="repeat"><replaceable>arg</replaceable></arg>
      </group>
    </cmdsynopsis>
  </refsynopsisdiv>

  <refsect1 id="aj" xreflabel="aj">
    <title>DESCRIPTION</title>

    <para>The
      <command>aj</command> command runs Java programs in Java 1.4 or
      later by setting up
      <literal>WeavingURLClassLoader</literal> as the system class
      loader, to do load-time bytecode weaving. </para>

    <para>The
      <command>aj5</command> command runs Java programs using AspectJ Java5 JVMTI
      agent to do load-time bytecode weaving. </para>

    <para> The arguments are the same as those used to launch the Java program.
      Users should define the environment variables
      <literal>CLASSPATH</literal> and
      <literal>ASPECTPATH</literal>. </para>

  </refsect1>
</refentry>