summaryrefslogtreecommitdiffstats
path: root/asm/build.xml
blob: 3057e9262993a800ecb44c5a86aa3692268cccef (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
28
29
30
31
32
33
34
35
36
37
38
39
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>