aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj/ajc-ant.xml
blob: 4aaf76d0d92143d53e66d70988dc23e22411edc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!-- ajc-ant script, not to be used from Ant commant line - see AntSpec -->
<project name="foo" default="all">

    <target name="compile:javac">
        <!-- compile only javac compilable stuff -->
        <javac destdir="${aj.sandbox}" classpathref="aj.path"
            srcdir="${basedir}"
            includes="ataspectj/*"
            debug="true">
        </javac>
    </target>

    <target name="all" depends="compile:javac">
        <java fork="yes" classname="ataspectj.AllLTWTests" failonerror="yes">
            <classpath refid="aj.path"/>
            <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>
            <jvmarg value="-Daj5.def=ataspectj/aop.xml"/>
        </java>
    </target>
</project>