3 <project name="haven-jsvc" default="jsvc-jar">
5 <property environment="env" />
9 <pathelement path="${env.CATALINA_HOME}/common/lib/servlet-api.jar" />
13 <target name="build-env">
15 <mkdir dir="build/bin" />
16 <mkdir dir="build/api" />
19 <target name="jsvc" depends="build-env">
20 <javac srcdir="src" destdir="build/bin" debug="on" includeantruntime="true">
21 <!-- <classpath refid="classpath" /> -->
22 <compilerarg value="-Xlint:unchecked" />
24 <copy todir="build/bin/dolda/jsvc/j2ee" file="etc/web.xml.template" />
25 <copy todir="build/bin/dolda/jsvc/next/catalog">
26 <fileset dir="etc/catalog" />
30 <target name="jsvc-jar" depends="build-env, jsvc">
31 <jar destfile="build/jsvc.jar" basedir="build/bin" />
34 <target name="javadoc" depends="jsvc-jar">
35 <javadoc packagenames="dolda.jsvc.*"
37 destdir="build/api" />
38 <zip destfile="build/jsvc-api.zip" basedir="build/api" />
42 <delete dir="build" />