applet now requires java 1.5 minimum (jmol 12.1.xx series is 1.5 only).
authorjprocter <Jim Procter>
Wed, 25 Aug 2010 14:17:55 +0000 (14:17 +0000)
committerjprocter <Jim Procter>
Wed, 25 Aug 2010 14:17:55 +0000 (14:17 +0000)
build.xml

index ae3dcec..549d237 100755 (executable)
--- a/build.xml
+++ b/build.xml
                <property name="packageDir" value="dist" />
                <property name="outputJar" value="jalview.jar" />
                <!-- Jalview Applet JMol Jar Dependency -->
-               <property name="jmolJar" value="JmolApplet-12.0.6.jar" />
+               <property name="jmolJar" value="JmolApplet-12.1.5.jar" />
                <property name="jalviewLiteJar" value="jalviewApplet.jar"/>
                <!-- switch to indicate if we should obfuscate jalviewLite -->
                <!--<property name="donotobfuscate" value="true"/> -->
 
                        <target name="compileApplet" depends="init,clean">
                                <mkdir dir="${outputDir}"/>
-                               <javac source="1.2"
-    target="1.1"
+                               <javac source="1.5"
+    target="1.5"
     srcdir="${sourceDir}" 
     destdir="${outputDir}"
        debug="${javac.debug}"
                        <target name="obfuscate" depends="-obfuscatefake,-obfuscatereally" description="construct the final jalviewLite applet jar with or without obfuscation">
                        </target>
                        <target name="-obfuscatefake" depends="packageApplet" if="donotobfuscate">
-                               <copy file="in.jar" tofile="${jalviewLiteJar}" />
+                               <copy file="in.jar" tofile="${jalviewLiteJar}" overwrite="true"/>
                                <delete file="in.jar"/>
                        </target>
                        <target name="-obfuscatereally" unless="donotobfuscate">