3 * just a crude zip up of non-Jalview classes for development purposes -BH 2018
5 * external JAR class treatment for JavaScript: see src2/README_SWINGJS.txt
9 <project name="jalviewX" default="zipall" basedir="."
11 xmlns:unless="ant:unless">
13 <!-- inputs directories -->
14 <property name="resource.dir" value="resources" />
15 <property name="swingjs.dir" value="swingjs"/>
16 <!-- output directories -->
17 <property name="site.dir" value="site"/>
18 <property name="j2s.dir" value="${site.dir}/swingjs/j2s"/>
19 <property name="libjs.dir" value="libjs"/>
21 <target name="zipall" depends="zipvarna,zipmig,zipintervalstore">
26 <target name="zipvarna">
28 <property name="varna.zip" value="${libjs.dir}/VARNA-site.zip" />
29 <echo> Zipping up ${varna.zip} </echo>
30 <zip destfile="${varna.zip}" basedir="${site.dir}" includes="fr_*.html,swingjs/j2s/fr/**" />
33 <target name="zipmig">
34 <!-- net.miginfo.com MiGLayout -->
35 <property name="mig.zip" value="${libjs.dir}/MiGLayout-site.zip" />
36 <echo> Zipping up ${mig.zip} </echo>
37 <zip destfile="${mig.zip}" basedir="${site.dir}" includes="swingjs/j2s/net/miginfocom/**" />
40 <target name="zipintervalstore">
41 <!-- intervalstore.impl NCList implementation -->
42 <property name="intervalstore.zip" value="${libjs.dir}/intervalstore-site.zip" />
43 <echo> Zipping up ${intervalstore.zip} </echo>
44 <zip destfile="${intervalstore.zip}" basedir="${site.dir}" includes="swingjs/j2s/intervalstore/**" />
47 <!-- already in SwingJS
48 <target name="zipjson" already in SwingJS>
49 <property name="json.zip" value="${libjs.dir}/json-site.zip" />
50 <echo> Zipping up ${json.zip} </echo>
51 <zip destfile="${json.zip}" basedir="${site.dir}" includes="swingjs/j2s/org/json/**" />
55 <!-- log4j minimal implementation is already in jalview/javascript
56 and is mapped from org.apache.log4j by the following .j2s line:
58 j2s.class.replacements=org.apache.log4j.->jalview.javascript.log4j.
60 <target name="ziplog4j">
61 <!- org.apache.log4j ->
62 <property name="log4j.zip" value="${libjs.dir}/log4j-site.zip" />
63 <echo> Zipping up ${log4j.zip} </echo>
64 <zip destfile="${log4j.zip}" basedir="${site.dir}" includes="swingjs/j2s/org/apache/log4j/**" />