From: Ben Soares Date: Wed, 1 May 2019 16:18:03 +0000 (+0100) Subject: Extra JVL file association in the installer. Shadowed gradle-launcher.jar and classpa... X-Git-Tag: Release_2_11_0~15^2~8 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b9777e08806d8c2e7905972d99979e640dcc4157;p=jalview.git Extra JVL file association in the installer. Shadowed gradle-launcher.jar and classpath adjusted in install4j template. 'jre' folder made a compiler variable in install4j template. --- diff --git a/getdown/lib/getdown-launcher.jar b/getdown/lib/getdown-launcher.jar index b52deec..e93b97b 100644 Binary files a/getdown/lib/getdown-launcher.jar and b/getdown/lib/getdown-launcher.jar differ diff --git a/getdown/src/getdown/launcher/pom.xml b/getdown/src/getdown/launcher/pom.xml index cf94571..10e1aa6 100644 --- a/getdown/src/getdown/launcher/pom.xml +++ b/getdown/src/getdown/launcher/pom.xml @@ -47,7 +47,9 @@ package - proguard + + proguard + @@ -127,6 +129,27 @@ + + + org.apache.maven.plugins + maven-shade-plugin + 3.2.1 + + + + + + package + + shade + + + + + + + + diff --git a/getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/GetdownApp.java b/getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/GetdownApp.java index fde79f3..6548fde 100644 --- a/getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/GetdownApp.java +++ b/getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/GetdownApp.java @@ -99,6 +99,7 @@ public class GetdownApp log.info("-- User Name: " + System.getProperty("user.name")); log.info("-- User Home: " + System.getProperty("user.home")); log.info("-- Cur dir: " + System.getProperty("user.dir")); + log.info("-- JVL: " + System.getProperty("jvl")); log.info("---------------------------------------------"); Getdown app = new Getdown(envc) { diff --git a/resources/images/JalviewVersionLocator.png b/resources/images/JalviewVersionLocator.png new file mode 100644 index 0000000..9441080 Binary files /dev/null and b/resources/images/JalviewVersionLocator.png differ diff --git a/utils/install4j/install4j_template.install4j b/utils/install4j/install4j_template.install4j index 8a64055..d848567 100644 --- a/utils/install4j/install4j_template.install4j +++ b/utils/install4j/install4j_template.install4j @@ -7,11 +7,12 @@ - + + @@ -43,10 +44,10 @@ - + - + @@ -95,7 +96,6 @@ - @@ -113,7 +113,7 @@ - + @@ -129,7 +129,6 @@ - @@ -147,7 +146,40 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -268,7 +300,11 @@ - + + + false + + @@ -483,17 +519,17 @@ return console.askOkCancel(message, true); - suggestAppDir - validateApplicationId - existingDirWarning + allowSpacesOnUnix + checkFreeSpace checkWritable + existingDirWarning manualEntryAllowed - checkFreeSpace - showRequiredDiskSpace showFreeDiskSpace - allowSpacesOnUnix - validationScript + showRequiredDiskSpace standardValidation + suggestAppDir + validateApplicationId + validationScript @@ -651,13 +687,24 @@ return console.askOkCancel(message, true); - + + + false + + + Jalview Desktop + ${compiler:sys.fullName} + + + ../../resources/images/JalviewLogo_Huge.png + + @@ -713,6 +760,40 @@ return console.askOkCancel(message, true); + + + + + + Jalview Version Locator + + + jvl + + + 1608 + + + + ../../resources/images/JalviewVersionLocator.png + + + + + com.install4j.runtime.beans.actions.desktop.MacAssociationRole + EDITOR + + + + + ../../resources/images/JalviewVersionLocator.png + + + + + + + @@ -1686,7 +1767,7 @@ return console.askYesNo(message, true); - + @@ -1704,6 +1785,7 @@ return console.askYesNo(message, true); + @@ -1732,7 +1814,7 @@ return console.askYesNo(message, true); - + @@ -1782,5 +1864,5 @@ return console.askYesNo(message, true); - +