JAL-3033 build.xml:build-site runs build-site.xml to populate site/ with prebuilt...
authorJim Procter <jprocter@issues.jalview.org>
Sun, 31 Mar 2019 17:57:06 +0000 (18:57 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Sun, 31 Mar 2019 17:57:06 +0000 (18:57 +0100)
build.xml

index 5a8fbc6..775df8d 100755 (executable)
--- a/build.xml
+++ b/build.xml
   </copy>
 </target>
 <target name="unzip-to-site" depends="prepare-site">
-  <property name="swingjs.zip" value="${swingjsdir}/SwingJS-site.zip" />
-  <unzip dest="${site}/" overwrite="true">
-    <fileset dir="libjs">
-      <include name="*.zip" />
-    </fileset>
-  </unzip>
-  <copy overwrite="true" todir="${site}/swingjs/j2s/">
-    <fileset dir="${resourceDir}">
-      <include name="**"/>
-    </fileset>
-  </copy>
-
-  <!-- copy test files into place in site -->
-  <copy todir="${site}/examples">
-    <fileset dir="examples">
-      <include name="*.*"/>
-    </fileset>
-  </copy>
-  <!-- lastly, update SwingJS -->
-  <unzip dest="${site}/" overwrite="true">
-    <fileset dir="${swingjsdir}">
-      <include name="SwingJS-site.zip"/>
-    </fileset>
-  </unzip>
+  <ant antfile="build-site.xml"/>
 </target>
 
   <target name="make-j2s-cores" depends="">