diff 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 diff
--- a/build.xml	Tue Dec 10 18:43:20 2013 +0000
+++ b/build.xml	Tue Dec 10 22:05:19 2013 +0000
@@ -10,14 +10,6 @@
   <property name="web.dir" location="WebContent"/>
   <property name="war.file"  location="echoapp.war"/>
 
-  <uptodate property="warBuild.notRequired" targetfile="${war.file}" >
-    <srcfiles dir= "${classes}" includes="*.class"/>
-    <srcfiles dir= "${src}" includes="*.java" />
-    <srcfiles dir= "${web.dir}" includes="*.jsp"/>
-    <srcfiles dir= "${web.dir}" includes="*.css"/>
-    <srcfiles dir= "${web.dir}" includes="*.xml" />
-  </uptodate>
-
   <target name="init">
     <!-- Create the time stamp -->
     <tstamp/>
@@ -28,7 +20,7 @@
   </target>
 
   <target name="build-war" depends="build"
-        description="generate the WAR file" unless="warBuild.notRequired">
+        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" />
@@ -39,5 +31,6 @@
   <target name="clean" description="clean up" >
     <!-- Delete the ${build} and ${dist} directory trees -->
     <delete dir="${build}"/>
+    <delete file="${war.file}"/>
   </target>
 </project>