JAL-1400 Always create indices for jar before signing
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Mon, 21 Oct 2013 16:52:51 +0000 (17:52 +0100)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 5 Nov 2013 16:45:53 +0000 (16:45 +0000)
build.xml

index 95c855a..b208c8e 100755 (executable)
--- a/build.xml
+++ b/build.xml
                                <include name="*.jar"/>
                        </fileset>
                </delete>
-               <jar destfile="${packageDir}/${outputJar}">
+               <jar destfile="${packageDir}/${outputJar}" index="true">
                        <manifest>
                                <attribute name="Main-Class" value="jalview.bin.Jalview" />
         <attribute name="Permissions" value="all-permissions" />
        <target name="packageApplet" depends="compileApplet, buildPropertiesFile">
                <copy file="${resourceDir}/images/idwidth.gif" toFile="${outputDir}/images/idwidth.gif" />
                <copy file="${resourceDir}/images/link.gif" toFile="${outputDir}/images/link.gif" />
-               <jar destfile="in.jar">
+               <jar destfile="in.jar" index="true">
                        <manifest>
                                <attribute name="Main-Class" value="jalview.bin.JalviewLite" />
                          <!--                          <attribute name="Permissions" value="sandbox" /> -->