resetting Discoverer
[jalview.git] / build-libjs.xml
index 3fb3cd3..c632310 100644 (file)
@@ -1,9 +1,28 @@
 <?xml version="1.0"?>
 <!--
- * just a crude zip up of non-Jalview classes for development purposes -BH 2018
- *
- * external JAR class treatment for JavaScript: see src2/README_SWINGJS.txt
- * 
+
+This ANT task creates the follwing .zip files in the libjs directory:
+
+intervalstore-site.zip
+MiGLayout-site.zip
+VARNA-site.zip
+Some source files from other projects need to be transpiled, but they do not need to be part of the 
+Java compilation. In fact, some of them (MiGLayout) should NOT be part of the Java compilation, because
+the implementation is not complete. 
+
+The solution was to store these files "off-classpath" in srcjar/ and just transfer them temporarily 
+to the classpath (in src2/), compile, and delete the temporary java files. 
+
+The sequence is:
+
+1) copy files from srcjar/ to src2/
+2) let the transpiler do its job on them (automatically, if Project...Build Automatically is checked)
+3) run this ANT task
+4) delete the *.java files in src2/
+
+
+  
  -->
 
 <project name="jalviewX" default="zipall" basedir="."