Mercurial > hg > human-echolocation-java-webapp
view build.xml @ 35:b32c3bd9eb89
removed the javabuilder jar (not necessary - should be copied either from the MCR or the MATLAB folder; removed some dependency checking from the build file; added some instructions file.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 10 Dec 2013 22:05:19 +0000 |
parents | 3fead3e53b4a |
children | 32592582ffd1 |
line wrap: on
line source
<project name="EchoWebApp" default="build-war" basedir="."> <description> Simple build file for the EchoLocation WebApp. </description> <!-- set global properties for this build --> <property name="lib" location="WebContent/WEB-INF/lib"/> <property name="src" location="src"/> <property name="classes" location="WebContent/WEB-INF/classes"/> <property name="web.dir" location="WebContent"/> <property name="war.file" location="echoapp.war"/> <target name="init"> <!-- Create the time stamp --> <tstamp/> </target> <target name="build"> <javac srcdir="${src}" destdir="${classes}" classpath="servlet-api.jar:${lib}/javabuilder.jar:${lib}/isvr.jar:${lib}/log4j-1.2.17.jar" includeantruntime="false"/> </target> <target name="build-war" depends="build" description="generate the WAR file" > <war destfile="${war.file}" webxml="${web.dir}/WEB-INF/web.xml"> <fileset dir="${web.dir}"> <exclude name="${web.dir}/WEB-INF/web.xml" /> </fileset> </war> </target> <target name="clean" description="clean up" > <!-- Delete the ${build} and ${dist} directory trees --> <delete dir="${build}"/> <delete file="${war.file}"/> </target> </project>