aboutsummaryrefslogtreecommitdiffstats
path: root/docs/devGuideDB/aj.xml
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-04-10 19:19:39 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-04-10 19:19:39 +0700
commit92edca3ea7a482d59a9086b1cb61413ed8604b67 (patch)
treed709ab2fd24a563cf626fb5ff354a0972a1dc6a9 /docs/devGuideDB/aj.xml
parent79c272eb9c158a976b7b3313c50759dd87b1b5fd (diff)
downloadaspectj-92edca3ea7a482d59a9086b1cb61413ed8604b67.tar.gz
aspectj-92edca3ea7a482d59a9086b1cb61413ed8604b67.zip
Remove indentation from <programlisting> blocks in docs
Many dozens (hundreds?) of documentation code blocks were indented to match the surrounding XML or just arbitrarily. The thing is: Inside <programlisting> tags, similar to <pre> tags, line feeds and leading whitespace are being preserved, which looked very awkward in the HTML documentation. While a few files were mostly correct in this respect, which shows that it was meant to be like that, many others were not. This was tedious, stupid work to fix, but it had to be done. Please note that the documentation was in no way updated content-wise. This is also overdue, but not my focus here. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs/devGuideDB/aj.xml')
-rw-r--r--docs/devGuideDB/aj.xml38
1 files changed, 19 insertions, 19 deletions
diff --git a/docs/devGuideDB/aj.xml b/docs/devGuideDB/aj.xml
index 1604d540c..fd250d055 100644
--- a/docs/devGuideDB/aj.xml
+++ b/docs/devGuideDB/aj.xml
@@ -1,9 +1,9 @@
<refentry id="aj-ref" xreflabel="The aj Command-line Reference">
-
- <refnamediv>
+
+ <refnamediv>
<refname>aj</refname>
<refpurpose>command-line launcher for basic load-time weaving</refpurpose>
- </refnamediv>
+ </refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
@@ -16,39 +16,39 @@
</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 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>
-
+
<para>For more information and alternatives for load-time weaving,
see <xref linkend="ltw"/>.
</para>
-
+
<refsect2>
<title>Examples</title>
-
+
<example id="simpleajexample">
<title>A simple example</title>
-
+
<para>Use ajc to build a library, then weave at load time</para>
-
- <programlisting><![CDATA[
- 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!"
-]]> </programlisting>
-
+
+ <programlisting><![CDATA[
+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!"
+]]> </programlisting>
+
</example>
</refsect2>
</refsect1>