preferences/StructureViewer fix
[jalview.git] / build-libjs.xml
1 <?xml version="1.0"?>
2 <!--
3  * just a crude zip up of non-Jalview classes for development purposes -BH 2018
4  *
5  * external JAR class treatment for JavaScript: see src2/README_SWINGJS.txt
6  * 
7  -->
8
9 <project name="jalviewX" default="zipall" basedir="."
10  xmlns:if="ant:if"
11     xmlns:unless="ant:unless">
12
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"/>
20
21         <target name="zipall" depends="zipvarna,zipmig,zipintervalstore">
22                 
23                 
24   </target>
25
26   <target name="zipvarna">
27     <!-- VARNA -->
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/**" />
31         </target>
32
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/**" />
38         </target>
39
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/**" />
45         </target>
46
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/**" />
52         </target>
53         -->
54
55         <!-- log4j minimal implementation is already in jalview/javascript
56               and is mapped from org.apache.log4j by the following .j2s line:
57               
58               j2s.class.replacements=org.apache.log4j.->jalview.javascript.log4j.
59                
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/**" />
65         </target>
66     -->
67 </project>