JAL-3033 WIP ant tasks for jalviewjs
authorJim Procter <jprocter@issues.jalview.org>
Fri, 22 Jun 2018 13:33:50 +0000 (14:33 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 22 Jun 2018 13:33:50 +0000 (14:33 +0100)
build.xml

index d826d83..89b5089 100755 (executable)
--- a/build.xml
+++ b/build.xml
     <arg value="-nointernet"/>
   </java>
 </target>
+  
+  <target name="eclipse-install" depends="init,prepare">
+    
+    <property name="eclipseTempFile" value="eclipse-jee-oxygen-R-linux-gtk-x86_64.tar.gz"/>
+    <property name="eclipseInstallURL" value="http://mirror.csclub.uwaterloo.ca/eclipse/technology/epp/downloads/release/oxygen/R/eclipse-jee-oxygen-R-linux-gtk-x86_64.tar.gz"/>
+    <property name="java2scriptURL" value="https://github.com/BobHanson/java2script/blob/master/sources/net.sf.j2s.core/dist/dropins/net.sf.j2s.core.jar?raw=true"/>
+    
+    <get url="${eclipseInstallURL}" dest="${eclipseTempFile}"/>
+    <untar compression="gzip" src="${eclipseTempFile}" dest="eclipse-inst"/>
+    <get url="${java2scriptURL}" dest="eclipse-inst/dropins/net.sf.j2s.core.jar"/>
+    
+  </target>
+<target name="build-site" depends="init,prepare">
+  <!-- execute eclipse build, trap log and dump to stdout here -->
+      
+  <!-- <mkdir dir="${packageDir}/${site}" /> -->
+  <property name="swingjs.zipurl" value="https://github.com/BobHanson/java2script/blob/master/sources/net.sf.j2s.java.core/dist/SwingJS-site.zip?raw=true" />
+  <property name="swingjs.zip" value="SwingJS-site.zip" />
+  <get src="${swingjs.zipurl}" dest="" usetimestamp="true" />
+  <unzip src="${swingjs.zip}" dest="${packageDir}/${site}/" />
+</target>
+  <!-- closure compile -->
+  <!-- copy test files into place in site -->
 </project>