From 97b5e687749801b5431368b9efeccc11842a27ca Mon Sep 17 00:00:00 2001
From: aclement As a special case of forking, load-time weaving sets up
a Java 1.4 or later VM using our weaving class loader,
- if you specify the aspectpath
attribute to
+ if you specify the ltw
attribute to
run
.
In the following example, the main class and the aspect
are compiled separately. The main class is then woven
- and run using load-time weaving.ltw
attribute.
<ajc-test dir="new" title="show LTW"> <compile files="Aspect.java" outjar="out.jar"/> <compile files="Main.java"/> - <run class="Main" aspectpath="out.jar"/> + <run class="Main" ltw="aop-test.xml"/> </ajc-test>@@ -669,7 +669,7 @@ For more information, see the API documentation for the harness