blob: ebd236b77ecb4d4d8f0800adf0f61cef2bf3c21e (
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
41
|
<?xml version="1.0"?>
<project name="bridge" default="all" basedir=".">
<import file="../build/build-common.xml"/>
<import file="../util/build.xml"/>
<path id="bridge.test.src.path">
<fileset dir="${basedir}/../lib">
<include name="junit/*.jar"/>
</fileset>
<path refid="bridge.src.path"/>
</path>
<path id="bridge.src.path">
<pathelement path="../util/bin"/>
</path>
<target name="compile" depends="init,
util.compile">
<srccompile project="bridge" path="bridge.src.path"/>
</target>
<target name="test:compile" depends="compile">
<testcompile project="bridge" path="bridge.test.src.path"/>
</target>
<target name="test" depends="test:compile">
<testrun project="bridge" path="bridge.test.src.path" suite="BridgeModuleTests"/>
</target>
<target name="jar" depends="compile">
<delete file="${build.ajdir}/jars/bridge.jar"/>
<zip destfile="${build.ajdir}/jars/bridge.jar">
<fileset dir="bin">
<include name="**/*"/>
</fileset>
</zip>
</target>
</project>
|