Removed the "RootResponder". I have no idea what it did there in the first place.
[jsvc.git] / build.xml
CommitLineData
78f5d120
FT
1<?xml version="1.0"?>
2
3<project name="haven-jsvc" default="jsvc-jar">
4
5 <property environment="env" />
6
7 <!--
8 <path id="classpath">
9 <pathelement path="${env.CATALINA_HOME}/common/lib/servlet-api.jar" />
10 </path>
11 -->
12
13 <target name="build-env">
14 <mkdir dir="build" />
00013ab7
FT
15 <mkdir dir="build/bin" />
16 <mkdir dir="build/test-bin" />
78f5d120
FT
17 </target>
18
19 <target name="jsvc" depends="build-env">
00013ab7 20 <javac srcdir="src" destdir="build/bin" debug="on">
78f5d120
FT
21 <!-- <classpath refid="classpath" /> -->
22 <compilerarg value="-Xlint:unchecked" />
23 </javac>
00013ab7 24 <copy todir="build/bin/dolda/jsvc/j2ee" file="etc/web.xml.template" />
78f5d120
FT
25 </target>
26
27 <target name="jsvc-jar" depends="build-env, jsvc">
00013ab7
FT
28 <jar destfile="build/jsvc.jar" basedir="build/bin" />
29 </target>
30
17204d14
FT
31 <target name="test-war" depends="build-env, jsvc-jar">
32 <taskdef name="jsvc-war" classname="dolda.jsvc.j2ee.Archive$AntTask" classpath="build/jsvc.jar" />
7779099a
FT
33 <copy todir="build/test-bin/dolda/jsvc/test">
34 <fileset dir="src/dolda/jsvc/test">
35 <include name="static/**" />
36 </fileset>
37 </copy>
00013ab7
FT
38 <copy tofile="build/test-bin/jsvc.properties" file="etc/test.jsvc.properties" />
39 <jar destfile="build/jsvc-test.jar" basedir="build/test-bin" />
17204d14
FT
40 <jsvc-war destfile="build/jsvc-test.war">
41 <jars dir="build">
42 <include name="jsvc.jar" />
43 <include name="jsvc-test.jar" />
44 </jars>
45 </jsvc-war>
78f5d120
FT
46 </target>
47
78f5d120
FT
48 <target name="clean">
49 <delete dir="build" />
50 </target>
51</project>