jalviewLite now needs plugin.jar from jre so it can access JSObject class for javascr...
authorjprocter <Jim Procter>
Wed, 12 Jan 2011 16:57:24 +0000 (16:57 +0000)
committerjprocter <Jim Procter>
Wed, 12 Jan 2011 16:57:24 +0000 (16:57 +0000)
build.xml

index 60c442f..7669700 100755 (executable)
--- a/build.xml
+++ b/build.xml
                                <include name="*.jar" />
                                <include name="**/*.jar" />
                        </fileset>
+                       <fileset dir="${java.home}">
+                               <include name="/lib/plugin.jar"/>
+                       </fileset>
                        <fileset dir="appletlib">
                                <!-- the JmolApplet includes the JmolApplet console and the application javac seems to always try and build all packages 
                                -->
                        <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">