JAL-1503 formatting
authorJim Procter <jprocter@dundee.ac.uk>
Tue, 3 Jun 2014 13:24:43 +0000 (14:24 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Tue, 3 Jun 2014 13:24:43 +0000 (14:24 +0100)
JAL-690 add .jvp as default javaws filetype for jalview projects

build.xml

index 73cf2ec..01aea93 100755 (executable)
--- a/build.xml
+++ b/build.xml
       </echo>
   </target>
   <target name="writejnlpf">
-       <presetdef name="jnlpf">
-           <jnlp codebase="${WebStartLocation}">
-             <information>
-               <title>Jalview</title>
-               <vendor>The Barton Group</vendor>
-               <homepage href="http://www.jalview.org" />
-               <description>Jalview Multiple Alignment Editor</description>
-               <description kind="short">Jalview</description>
-               <icon href="${WebStartImage}" />
-               <offline_allowed />
-             </information>
-             <resources>
-               <j2se version="${j2sev}" initial_heap_size="${inih}" max_heap_size="${maxh}" />
-               <fileset dir="${packageDir}">
-                 <include name="jalview.jar" />
-               </fileset>
-               <fileset dir="${packageDir}">
-                 <include name="*.jar" />
-                 <include name="*_*.jar" />
-                 <exclude name="jalview.jar" />
-               </fileset>
-               <property name="jalview.version" value="${JALVIEW_VERSION}" />
-             </resources>
-             <application_desc main_class="jalview.bin.Jalview">
-             </application_desc>
-             <security>
-               <all_permissions />
-             </security>
-           </jnlp>
-           </presetdef>
-
-           <jnlpf toFile="${jnlpFile}"/>
+    <presetdef name="jnlpf">
+      <jnlp codebase="${WebStartLocation}">
+        <information>
+          <title>Jalview</title>
+          <vendor>The Barton Group</vendor>
+          <homepage href="http://www.jalview.org" />
+          <description>Jalview Multiple Alignment Editor</description>
+          <description kind="short">Jalview</description>
+          <icon href="${WebStartImage}" />
+          <offline_allowed />
+          <association mime-type="application-x/ext-file" extensions="fa" />
+          <association mime-type="application-x/ext-file" extensions="fasta" />
+          <association mime-type="application-x/ext-file" extensions="mfa" />
+          <association mime-type="application-x/ext-file" extensions="fastq" />
+          <association mime-type="application-x/ext-file" extensions="blc" />
+          <association mime-type="application-x/ext-file" extensions="msf" />
+          <association mime-type="application-x/ext-file" extensions="pfam" />
+          <association mime-type="application-x/ext-file" extensions="aln"/>
+          <association mime-type="application-x/ext-file" extensions="pir"/>
+          <association mime-type="application-x/ext-file" extensions="amsa"/>
+          <association mime-type="application-x/ext-file" extensions="stk"/>
+          <association mime-type="application-x/ext-file" extensions="jvp"/>
+        </information>
+        <resources>
+          <j2se version="${j2sev}" initial_heap_size="${inih}" max_heap_size="${maxh}" />
+          <fileset dir="${packageDir}">
+            <include name="jalview.jar" />
+          </fileset>
+          <fileset dir="${packageDir}">
+            <include name="*.jar" />
+            <include name="*_*.jar" />
+            <exclude name="jalview.jar" />
+          </fileset>
+          <property name="jalview.version" value="${JALVIEW_VERSION}" />
+        </resources>
+        <application_desc main_class="jalview.bin.Jalview">
+        </application_desc>
+        <security>
+          <all_permissions />
+        </security>
+      </jnlp>
+    </presetdef>
+
+    <jnlpf toFile="${jnlpFile}"/>
   </target>
   <target name="buildextclients" depends="init">
     <input message="Building external client source from WSDLs - Do you really want to do this ? (Yy/Nn)" validargs="Y,y,n,N" defaultvalue="N" addproperty="doextbuild.response" />