blob: 92011019ece0af99cdd7128f33e1dc7d214c2132 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
The bin directory of your AspectJ distribution contains a script "aj" to
perform load-time weaving. Java classes on the CLASSPATH are loaded and
woven with aspects on the ASPECTPATH.
This feature is only supported on JDK 1.4 and later.
--To compile the tracing example--
ant -f ../build.xml tracing-lt
--To run the example--
set CLASSPATH to include "../jars/tracingApp.jar"
aj tracing.ExampleMain
--To run the example with tracing--
set ASPECTPATH=../jars/tracingLib.jar
aj tracing.ExampleMain
|