diff options
author | mwebster <mwebster> | 2006-08-14 15:55:52 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-08-14 15:55:52 +0000 |
commit | acf2739fa68567d65cd776e583aab6d60c2e6991 (patch) | |
tree | c52669c1b373198189149218b1d5242ea47cf50d /tests/tracing | |
parent | 42f46b0604dde7fe289058149a8fbad93931b925 (diff) | |
download | aspectj-acf2739fa68567d65cd776e583aab6d60c2e6991.tar.gz aspectj-acf2739fa68567d65cd776e583aab6d60c2e6991.zip |
Bug 150487 "Tracing and Logging Framework" (WeavingAdaptorMessageHandler delegates and traces)
Diffstat (limited to 'tests/tracing')
-rw-r--r-- | tests/tracing/ant.xml | 13 | ||||
-rw-r--r-- | tests/tracing/aop-tracemessages.xml | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/tests/tracing/ant.xml b/tests/tracing/ant.xml index f7852949e..b0b7a9e17 100644 --- a/tests/tracing/ant.xml +++ b/tests/tracing/ant.xml @@ -24,4 +24,17 @@ </java> </target> + <target name="Trace messages"> + <copy file="${aj.root}/tests/tracing/aop-tracemessages.xml" + tofile="${aj.sandbox}/META-INF/aop.xml"/> + <java fork="yes" classname="HelloWorld" failonerror="yes"> + <classpath refid="aj.path"/> + <jvmarg value="-Dorg.aspectj.tracing.factory=default"/> + <jvmarg value="-Dorg.aspectj.tracing.messages=true"/> + <!-- use META-INF/aop.xml style --> + <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/> +<!-- <jvmarg line="${jdwp}"/>--> + </java> + </target> + </project> diff --git a/tests/tracing/aop-tracemessages.xml b/tests/tracing/aop-tracemessages.xml new file mode 100644 index 000000000..4f5e36a5a --- /dev/null +++ b/tests/tracing/aop-tracemessages.xml @@ -0,0 +1,13 @@ +<aspectj> + <aspects> + <aspect name="IncludedAspect"/> + <aspect name="ExcludedAspect"/> + + <concrete-aspect name="IncludedMissingAspect" extends="MissingAbstractAspect"> + <pointcut name="pointcut" expression="within(*)"/> + </concrete-aspect> + + <include within="Included*"/> + </aspects> + <weaver options="-Xlint:warning"/> +</aspectj>
\ No newline at end of file |