property to configure webstart image
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 9 Nov 2012 17:00:09 +0000 (17:00 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 9 Nov 2012 17:00:09 +0000 (17:00 +0000)
build.xml

index b2a39c6..0f81af7 100755 (executable)
--- a/build.xml
+++ b/build.xml
@@ -88,6 +88,8 @@
                <!-- Don't change anything below here unless you know what you are doing! -->
                <!-- Url path for WebStart in JNLP file -->
                <property name="WebStartLocation" value="http://www.jalview.org/webstart" />
+               <!-- Webstart Image - looked for in resources/images -->
+               <property name="WebStartImage" value="JalviewLogo_big.png"/>
                <!-- J2SE version needed for webstart launch -->
                <property name="j2sev" value="1.6+"/>
                <!-- build directory configuration -->
                </signjar>
                <copy todir="${packageDir}">
                        <fileset dir="${resourceDir}/images">
-                               <include name="JalviewLogo_big.png"/>
+                               <include name="${WebStartImage}"/>
                        </fileset>
                                        </copy>
                
                                <homepage href="http://www.jalview.org" />
                                <description>Jalview Multiple Alignment Editor</description>
                                <description kind="short">Jalview</description>
-                               <icon href="JalviewLogo_big.png" />
+                               <icon href="${WebStartImage}" />
                                <offline_allowed/>
                        </information>
                        <resources>
                                <homepage href="http://www.jalview.org" />
                                <description>Jalview Multiple Alignment Editor</description>
                                <description kind="short">Jalview</description>
-                               <icon href="JalviewLogo_big.png" />
+                               <icon href="${WebStartImage}" />
                                <offline_allowed />
                        </information>
                        <resources>
                                <homepage href="http://www.jalview.org" />
                                <description>Jalview Multiple Alignment Editor</description>
                                <description kind="short">Jalview</description>
-                               <icon href="JalviewLogo_big.png" />
+                               <icon href="${WebStartImage}" />
                                <offline_allowed />
                        </information>
                        <resources>