JAL-3033 force overwrite for .classpath from .classpath.js
authorJim Procter <jprocter@issues.jalview.org>
Tue, 26 Jun 2018 09:13:03 +0000 (10:13 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 26 Jun 2018 09:13:03 +0000 (10:13 +0100)
build.xml

index 37ac65a..89c93c9 100755 (executable)
--- a/build.xml
+++ b/build.xml
   <arg value="checkout" />
   <arg value="${git.commit}" />
   </exec>
-  
-  <copy file=".classpath.js" tofile="${eclipse-workrepo}/.classpath"/>
+  <!-- custom classpath for .js builds -->
+  <copy file=".classpath.js" tofile="${eclipse-workrepo}/.classpath" overwrite="true"/>
   
   <!-- 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">