</stderr>
</ant>
</ajc-test>
+
+ <ajc-test dir="tracing" title="Trace everything" keywords="tracing">
+ <compile
+ files="HelloWorld.java"
+ />
+ <compile files="Aspect.aj" options="-outxml"/>
+ <ant file="ant.xml" target="Trace everything" verbose="true">
+ <stdout>
+ <line text="Hello World!"/>
+ </stdout>
+ </ant>
+ </ajc-test>
</suite>
--- /dev/null
+public aspect Aspect {
+ before () : within(HelloWorld) {
+ System.err.println(thisJoinPoint);
+ }
+}
\ No newline at end of file
</java>
</target>
+ <target name="Trace everything">
+ <java fork="yes" classname="HelloWorld" failonerror="yes">
+ <classpath refid="aj.path"/>
+ <jvmarg value="-Dorg.aspectj.tracing.enabled=true"/>
+ <jvmarg value="-Dorg.aspectj.tracing.factory=default"/>
+ <jvmarg value="-Dorg.aspectj.tracing.messages=true"/>
+<!-- <jvmarg value="-verbose:class"/>-->
+ <!-- use META-INF/aop.xml style -->
+ <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>
+<!-- <jvmarg line="${jdwp}"/>-->
+ </java>
+ </target>
+
</project>