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 |
rev |
line source |
luis@17
|
1 <project name="EchoWebApp" default="build-war" basedir=".">
|
luis@1
|
2 <description>
|
luis@1
|
3 Simple build file for the EchoLocation WebApp.
|
luis@1
|
4 </description>
|
luis@1
|
5
|
luis@1
|
6 <!-- set global properties for this build -->
|
luis@25
|
7 <property name="lib" location="WebContent/WEB-INF/lib"/>
|
luis@23
|
8 <property name="src" location="src"/>
|
luis@25
|
9 <property name="classes" location="WebContent/WEB-INF/classes"/>
|
luis@25
|
10 <property name="web.dir" location="WebContent"/>
|
luis@12
|
11 <property name="war.file" location="echoapp.war"/>
|
luis@1
|
12
|
luis@1
|
13 <target name="init">
|
luis@1
|
14 <!-- Create the time stamp -->
|
luis@1
|
15 <tstamp/>
|
luis@1
|
16 </target>
|
luis@1
|
17
|
luis@34
|
18 <target name="build">
|
luis@16
|
19 <javac srcdir="${src}" destdir="${classes}" classpath="servlet-api.jar:${lib}/javabuilder.jar:${lib}/isvr.jar:${lib}/log4j-1.2.17.jar" includeantruntime="false"/>
|
luis@8
|
20 </target>
|
luis@8
|
21
|
luis@12
|
22 <target name="build-war" depends="build"
|
luis@35
|
23 description="generate the WAR file" >
|
luis@12
|
24 <war destfile="${war.file}" webxml="${web.dir}/WEB-INF/web.xml">
|
luis@12
|
25 <fileset dir="${web.dir}">
|
luis@12
|
26 <exclude name="${web.dir}/WEB-INF/web.xml" />
|
luis@12
|
27 </fileset>
|
luis@12
|
28 </war>
|
luis@1
|
29 </target>
|
luis@1
|
30
|
luis@12
|
31 <target name="clean" description="clean up" >
|
luis@1
|
32 <!-- Delete the ${build} and ${dist} directory trees -->
|
luis@1
|
33 <delete dir="${build}"/>
|
luis@35
|
34 <delete file="${war.file}"/>
|
luis@1
|
35 </target>
|
luis@8
|
36 </project>
|