diff options
Diffstat (limited to 'tests/tracing/ant.xml')
-rw-r--r-- | tests/tracing/ant.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/tracing/ant.xml b/tests/tracing/ant.xml new file mode 100644 index 000000000..f7852949e --- /dev/null +++ b/tests/tracing/ant.xml @@ -0,0 +1,27 @@ +<!-- ajc-ant script, not to be used from Ant commant line - see AntSpec --> +<project name="tracing"> + + <!-- using this we can debug the forked VM --> + <property + name="jdwp" + value="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/> + + <target name="Tracing"> + <java fork="yes" classname="TracingTest" failonerror="yes"> + <classpath refid="aj.path"/> + <!-- use META-INF/aop.xml style --> +<!-- <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>--> +<!-- <jvmarg line="${jdwp}"/>--> + </java> + </target> + + <target name="Default tracing"> + <java fork="yes" classname="DefaultTracingTest" failonerror="yes"> + <classpath refid="aj.path"/> + <!-- use META-INF/aop.xml style --> +<!-- <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>--> +<!-- <jvmarg line="${jdwp}"/>--> + </java> + </target> + +</project> |