Commit | Line | Data |
---|---|---|
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" /> | |
15 | <mkdir dir="build/classes" /> | |
78f5d120 FT |
16 | </target> |
17 | ||
18 | <target name="jsvc" depends="build-env"> | |
19 | <javac srcdir="src" destdir="build/classes" debug="on"> | |
20 | <!-- <classpath refid="classpath" /> --> | |
21 | <compilerarg value="-Xlint:unchecked" /> | |
22 | </javac> | |
f179d8ba | 23 | <copy todir="build/classes/dolda/jsvc/j2ee" file="etc/web.xml.template" /> |
78f5d120 FT |
24 | </target> |
25 | ||
26 | <target name="jsvc-jar" depends="build-env, jsvc"> | |
27 | <jar destfile="build/jsvc.jar" basedir="build/classes" /> | |
28 | </target> | |
29 | ||
78f5d120 FT |
30 | <target name="clean"> |
31 | <delete dir="build" /> | |
32 | </target> | |
33 | </project> |