JAL-3033 clean eclipse log before each new js-build
authorJim Procter <jprocter@issues.jalview.org>
Wed, 18 Jul 2018 13:33:57 +0000 (14:33 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 18 Jul 2018 13:33:57 +0000 (14:33 +0100)
build.xml

index fb21088..5dafe48 100755 (executable)
--- a/build.xml
+++ b/build.xml
   </exec>
   <!-- custom classpath for .js builds -->
   <copy file=".classpath.js" tofile="${eclipse-workrepo}/.classpath" overwrite="true"/>
-
+  <!-- clean eclipse log -->
+  <delete file="${eclipse-work}/.metadata/.log"/>
+    
   <!-- execute the eclipse build - the build may fail but valid javascript may still be produced, so we ignore return codes -->
   <exec executable="${eclipse-exec}" failonerror="no">
     <arg value="-nosplash"/>
     <arg value="-data"/>
     <arg value="${eclipse-work}"/>
   </exec>
-
+  <!-- report log -->
   <exec executable="/bin/cat">
     <arg value="${eclipse-work}/.metadata/.log"/>
   </exec>