repaint image buffer resize when panel height changes (JAL-564)
[jalview.git] / build.xml
index 60c442f..a75e4ea 100755 (executable)
--- a/build.xml
+++ b/build.xml
                                <include name="*.jar" />
                                <include name="**/*.jar" />
                        </fileset>
+                       <fileset dir="${java.home}/lib">
+                               <include name="plugin.jar"/>
+                       </fileset>
                        <fileset dir="appletlib">
                                <!-- the JmolApplet includes the JmolApplet console and the application javac seems to always try and build all packages 
                                -->
                <property name="source.dist.name" value="${basedir}/jalview-src.tar.gz" />
                <!-- The Location of the java 1.1.8 jdk -->
                <property name="java118.home" value="C:\Sun\jdk1.1.8" />
-               <property name="applet.jre.tools" value="${java118.home}/lib/classes.zip" />
-               <!-- jre for 1.4 version
+               <!--<property name="applet.jre.tools" value="${java118.home}/lib/classes.zip" />
+               --><!-- jre for 1.4 version -->
                <property name="applet.jre.tools" value="${java.home}/lib/rt.jar"/>
-               -->
+               
                <!-- the classpath for building the 1.1 applet -->
                <path id="jalviewlite.deps">
                        <fileset dir="${java118.home}">
                                <include name="lib/classes.zip" />
                        </fileset>
+                       <fileset dir="${java.home}/lib">
+                               <include name="plugin.jar"/>
+                       </fileset>
                        <pathelement location="appletlib/${jmolJar}" />
                </path>
        </target>
 
        <target name="compileApplet" depends="init,clean">
                <mkdir dir="${outputDir}" />
-               <javac source="1.5" target="1.5" srcdir="${sourceDir}" destdir="${outputDir}" debug="${javac.debug}" classpath="appletlib/${jmolJar}" includes="jalview/appletgui/**" excludes="ext/**,MCview/**,org/**,vamsas/**" />
+               <javac source="1.5" target="1.5" srcdir="${sourceDir}" destdir="${outputDir}" debug="${javac.debug}" 
+                       classpathref="jalviewlite.deps" includes="jalview/appletgui/**"
+                       excludes="ext/**,MCview/**,org/**,vamsas/**" />
        </target>
 
        <target name="packageApplet" depends="compileApplet, buildPropertiesFile">