srcjar changes for JSONParser - just 'c' |'c' workaround (not necessary
[jalview.git] / build.xml
index 37ac65a..1e9964c 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">
        </fileset>
   </copy>
   
+  <!-- copy test files into place in site -->
   <copy todir="${site}/examples">
   <fileset dir="examples">
   <include name="*.*"/>
     </fileset>
   </copy>
   <!-- closure compile -->
-  <!-- copy test files into place in site -->
+  <!-- tarball -->
+  <tar compression="gzip" destfile="site.tar.gz">
+    <tarfileset dir="site"/>
+  </tar>
 </target>
 </project>