diff options
Diffstat (limited to 'tests/java5/ataspectj/ajc-ant.xml')
-rw-r--r-- | tests/java5/ataspectj/ajc-ant.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/java5/ataspectj/ajc-ant.xml b/tests/java5/ataspectj/ajc-ant.xml new file mode 100644 index 000000000..4aaf76d0d --- /dev/null +++ b/tests/java5/ataspectj/ajc-ant.xml @@ -0,0 +1,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>
\ No newline at end of file |