diff options
Diffstat (limited to 'asm')
-rw-r--r-- | asm/build.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/asm/build.xml b/asm/build.xml new file mode 100644 index 000000000..3057e9262 --- /dev/null +++ b/asm/build.xml @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<project name="asm" default="all" basedir="."> + + <import file="../build/build-common.xml"/> + <import file="../bridge/build.xml"/> + + <path id="asm.test.src.path"> + <fileset dir="${basedir}/../lib"> + <include name="junit/*.jar"/> + </fileset> + <path refid="asm.src.path"/> + </path> + + <path id="asm.src.path"> + <pathelement path="../bridge/bin"/> + </path> + + <target name="compile" depends="init, + bridge.compile"> + <srccompile project="asm" path="asm.src.path"/> + </target> + + <target name="test:compile" depends="compile"> + <testcompile project="asm" path="asm.test.src.path"/> + </target> + + <target name="test" depends="test:compile"> + <testrun project="asm" path="asm.test.src.path" suite="AsmModuleTests"/> + </target> + + <target name="jar" depends="compile"> + <delete file="${build.ajdir}/jars/asm.jar"/> + <zip destfile="${build.ajdir}/jars/asm.jar"> + <fileset dir="bin"> + <include name="**/*"/> + </fileset> + </zip> + </target> +</project> + |