summaryrefslogtreecommitdiffstats
path: root/bridge/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/build.xml')
-rw-r--r--bridge/build.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/bridge/build.xml b/bridge/build.xml
new file mode 100644
index 000000000..ebd236b77
--- /dev/null
+++ b/bridge/build.xml
@@ -0,0 +1,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>
+