aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorwisberg <wisberg>2004-01-09 17:45:33 +0000
committerwisberg <wisberg>2004-01-09 17:45:33 +0000
commit0a41a4eceadf9936f67a72e31652e35ddc80bd4b (patch)
tree0b282c0f8dcdfdc549498ad39050cced8ed0427c /docs
parentfa41ac6ec439074fa75a84eeae2815dd20d71b78 (diff)
downloadaspectj-0a41a4eceadf9936f67a72e31652e35ddc80bd4b.tar.gz
aspectj-0a41a4eceadf9936f67a72e31652e35ddc80bd4b.zip
demonstrating inpath and fork/forkclasspath
Diffstat (limited to 'docs')
-rw-r--r--docs/dist/doc/examples/build.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/dist/doc/examples/build.xml b/docs/dist/doc/examples/build.xml
index 26c6086f6..8fd48dbc7 100644
--- a/docs/dist/doc/examples/build.xml
+++ b/docs/dist/doc/examples/build.xml
@@ -331,6 +331,7 @@
<!-- ============================================================= -->
<!-- do tracing example with 1.1 bytecode weaving (binary aspects) -->
+ <!-- (and use fork/forkclasspath to avoid Eclipse 2.x bug) -->
<!-- ============================================================= -->
<target name="tracing-bc" depends="init"
description="tracing example with bytecode weaving (binary aspects)">
@@ -339,6 +340,8 @@
<!-- build application classes -->
<iajc outjar="${jar.dir}/tracingApp.jar"
classpath="${aspectjrt.jar}"
+ fork="true"
+ forkclasspath="${aspectjtools.jar}"
verbose="off">
<src path="${example.dir}"/>
<include name="tracing/*.java" />
@@ -357,6 +360,8 @@
<!-- Build a read-only tracing library -->
<iajc outjar="${jar.dir}/tracingLib.jar"
classpath="${aspectjrt.jar}"
+ fork="true"
+ forkclasspath="${aspectjtools.jar}"
verbose="off">
<src path="${example.dir}"/>
<include name="tracing/version3/Trace.java" />
@@ -366,9 +371,11 @@
<!-- This example uses a concrete aspect in source form, -->
<!-- but the aspects could be written to be binary only. -->
<iajc outjar="${jar.dir}/tracedApp.jar"
- injars="${jar.dir}/tracingApp.jar"
+ inpath="${jar.dir}/tracingApp.jar"
aspectpath="${jar.dir}/tracingLib.jar"
classpath="${aspectjrt.jar}"
+ fork="true"
+ forkclasspath="${aspectjtools.jar}"
verbose="off">
<src path="${example.dir}"/>
<include name="tracing/version3/TraceMyClasses.java" />