aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tracing/ant.xml
blob: f7852949e35a8cf674a4bfe0db0a006ec90601f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>