diff options
author | mwebster <mwebster> | 2006-08-16 14:53:26 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-08-16 14:53:26 +0000 |
commit | c1c9215efa1c1e332859dd50c103e2a0021e15fe (patch) | |
tree | 404f9239eaaddba5c4601624321c9ab7e4ac45aa /tests/tracing | |
parent | 4a53ac4202af0d7ee667474c7a1a4820e32a98cf (diff) | |
download | aspectj-c1c9215efa1c1e332859dd50c103e2a0021e15fe.tar.gz aspectj-c1c9215efa1c1e332859dd50c103e2a0021e15fe.zip |
Bug 150487 "Tracing and Logging Framework" (trace everyting test)
Diffstat (limited to 'tests/tracing')
-rw-r--r-- | tests/tracing/Aspect.aj | 5 | ||||
-rw-r--r-- | tests/tracing/ant.xml | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/tracing/Aspect.aj b/tests/tracing/Aspect.aj new file mode 100644 index 000000000..3ecbe827e --- /dev/null +++ b/tests/tracing/Aspect.aj @@ -0,0 +1,5 @@ +public aspect Aspect { + before () : within(HelloWorld) { + System.err.println(thisJoinPoint); + } +}
\ No newline at end of file diff --git a/tests/tracing/ant.xml b/tests/tracing/ant.xml index b0b7a9e17..064eecda0 100644 --- a/tests/tracing/ant.xml +++ b/tests/tracing/ant.xml @@ -37,4 +37,17 @@ </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> |