X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=utils%2Finstall4j%2Finstall4j8_template.install4j;h=cf427c66464ddcfa051ec8a1d589581fc83c4435;hb=f550a2851efac4677abd69087245a3e74d966e98;hp=321abc436d60c4d45acd3f5fd948dd93c31b28e1;hpb=2b30d81e00e8db1e03bc0cc1acfd988333447d59;p=jalview.git diff --git a/utils/install4j/install4j8_template.install4j b/utils/install4j/install4j8_template.install4j index 321abc4..cf427c6 100644 --- a/utils/install4j/install4j8_template.install4j +++ b/utils/install4j/install4j8_template.install4j @@ -1,16 +1,19 @@ - - - + + + + + + @@ -27,7 +30,15 @@ - + + + + + + + + + @@ -36,23 +47,54 @@ + + + + + + + + + - + + + *.dylib + *.so + *.jnilib + unpack200 + tnameserv + servertool + rmiregistry + rmid + policytool + pack200 + orbd + keytool + jjs + java + jspawnhelper + libfreetype.dylib.6 + applet + jaotc + jfr + jrunscript + libjli.dylib + + - + - - @@ -60,15 +102,19 @@ - - + + + + + + + - @@ -96,59 +142,39 @@ - - - - - - - - + + + - + - + - + 2350 2450 + 2641 ${compiler:file("${compiler:INFO_PLIST_FILE_ASSOCIATIONS_FILE}")} - - - - - - - - - - - - 2350 - 2450 - - ${compiler:file("${compiler:INFO_PLIST_FILE_ASSOCIATIONS_FILE}")} - - + - + @@ -180,7 +206,7 @@ - ${compiler:JALVIEW_DIR}/resources/images/jalview_logo_background_fade-640x480.png + ${compiler:JALVIEW_DIR}/${compiler:BACKGROUND} @@ -218,6 +244,35 @@ + + + + + String userHome = (String)context.getVariable("sys.userHome"); + +String[] tryPaths = new String[] { + "bin", + ".local" + File.separator + "bin", + "local" + File.separator + "bin", + "opt" + File.separator + "bin" +}; + +for (int i = 0; i < tryPaths.length; i++) { + String tryPath = tryPaths[i]; + File unixUserBinDir = new File(userHome + File.separator + tryPath); + if (unixUserBinDir.exists()) { + return tryPath; + } +} + +return null; + + + + unixUserBinDir + + Util.isLinux() || Util.isUnixInstaller() + @@ -251,7 +306,7 @@ - ${compiler:JALVIEW_DIR}/resources/images/jalview_logo_background_fade-640x480.png + ${compiler:JALVIEW_DIR}/${compiler:BACKGROUND} @@ -390,8 +445,32 @@ return console.askOkCancel(message, true); - + + + + ${compiler:APPLICATION_CATEGORIES} + + + + Examples + + + examples + + + + + + ${compiler:JALVIEW_NAME} + ${i18n:UninstallerMenuEntry(${compiler:sys.fullName})} + + !context.getBooleanVariable("sys.programGroupDisabled") + + + + ${compiler:APPLICATION_CATEGORIES} + ${compiler:JALVIEW_NAME} ${i18n:UninstallerMenuEntry(${compiler:sys.fullName})} !context.getBooleanVariable("sys.programGroupDisabled") @@ -440,7 +519,7 @@ return console.askOkCancel(message, true); - Creating file associations + Finished creating file associations @@ -464,6 +543,12 @@ return console.askOkCancel(message, true); jalviews + + + 737 + ${compiler:EXTRA_SCHEME} + + @@ -478,20 +563,22 @@ return console.askOkCancel(message, true); - ${compiler:sys.shortName} + ${compiler:APPLICATION_CATEGORIES} + ${compiler:JALVIEW_APPLICATION_NAME} - ${compiler:sys.shortName} + ${installer:sys.contentDir}/${compiler:EXECUTABLE_NAME} - ${compiler:JALVIEW_DIR}/resources/images/jalview_logos.ico + ${compiler:JALVIEW_DIR}/${compiler:WINDOWS_ICONS_FILE} + ${compiler:JALVIEW_NAME} - ${compiler:JALVIEW_DIR}/resources/images/JalviewLogo_Huge.png + ${compiler:JALVIEW_DIR}/${compiler:PNG_ICON_FILE} @@ -500,21 +587,21 @@ return console.askOkCancel(message, true); - ${compiler:sys.shortName} + ${compiler:JALVIEW_APPLICATION_NAME} - ${compiler:sys.shortName} + ${installer:sys.contentDir}/${compiler:EXECUTABLE_NAME} - ${compiler:sys.fullName} + ${compiler:JALVIEW_APPLICATION_NAME} - ${compiler:JALVIEW_DIR}/resources/images/JalviewLogo_Huge.png + ${compiler:JALVIEW_DIR}/${compiler:PNG_ICON_FILE} - ${compiler:JALVIEW_DIR}/resources/images/jalview_logos.ico + ${compiler:JALVIEW_DIR}/${compiler:WINDOWS_ICONS_FILE} @@ -524,12 +611,50 @@ return console.askOkCancel(message, true); - Jalview.app + ${compiler:JALVIEW_APPLICATION_NAME}.app context.getBooleanVariable("addToDockAction") + + + + + ${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BASH_WRAPPER_SCRIPT} + + + + + ${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:WRAPPER_LINK} + + + + !Util.isWindows() + + + + + ${installer:sys.contentDir}\${compiler:WRAPPER_SCRIPT_BIN_DIR} + Path + + context.getBooleanVariable("appendToPathAction") + + + + + + ${installer:sys.contentDir}/${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BASH_WRAPPER_SCRIPT} + + + + + ${installer:sys.userHome}/${installer:unixUserBinDir}/${compiler:WRAPPER_LINK} + + + + context.getBooleanVariable("makeSymbolicLink") && ( Util.isLinux() || Util.isUnixInstaller() ) && ( context.getVariable("unixUserBinDir") != null ) + @@ -552,6 +677,22 @@ return console.askOkCancel(message, true); Util.isMacOS() + + + Add ${compiler:JALVIEW_APPLICATION_NAME}'s bin folder to the Path environment variable + + appendToPathAction + + Util.isWindows() + + + + Make a ${compiler:WRAPPER_LINK} symbolic link in ~/${installer:unixUserBinDir} + + makeSymbolicLink + + ( Util.isLinux() || Util.isUnixInstaller() ) && ( context.getVariable("unixUserBinDir") != null ) + @@ -589,7 +730,7 @@ return console.askOkCancel(message, true); - ${compiler:JALVIEW_DIR}/resources/images/jalview_logo_background_fade-640x480.png + ${compiler:JALVIEW_DIR}/${compiler:BACKGROUND} @@ -654,7 +795,7 @@ return console.askYesNo(message, true); - + jre @@ -672,117 +813,117 @@ return console.askYesNo(message, true); - ${compiler:GETDOWN_DIST_DIR} + getdown-launcher.jar - ${compiler:GETDOWN_ALT_DIR} + getdown-launcher-old.jar - ${compiler:GETDOWN_RESOURCE_DIR} + getdown-launcher-new.jar - getdown-launcher.jar + gettingdown.lock - getdown-launcher-old.jar + jre.zip - getdown-launcher-new.jar + digest.txt - *.jarv + digest2.txt - gettingdown.lock + getdown-launcher.jarv - *.log + getdown-launcher-new.jarv - *.txt + launcher.log - *_new + proxy.txt - digest.txt + build_properties - digest2.txt + channel_launch*.jvl - getdown-launcher.jarv + jalview*.jvl - getdown-launcher-new.jarv + *.jarv - channel_launch.jvl + *.log - launcher.log + *.txt - proxy.txt + *_new - META-INF + hs_err_*.* - install/getdown-launcher.jar + ${compiler:GETDOWN_DIST_DIR} - install/getdown.txt + ${compiler:GETDOWN_ALT_DIR} - install/build_properties + ${compiler:GETDOWN_RESOURCE_DIR} - build_properties + META-INF @@ -792,27 +933,67 @@ return console.askYesNo(message, true); - dist + resource - release + dist - alt + release - resource + alt - hs_err_*.* + dev + + + + + build + + + + + alt_* + + + + + dev_* + + + + + build_* + + + + + ${compiler:WRAPPER_SCRIPT_BIN_DIR} + + + + + bin + + + + + channel.props + + + + + channel.propsv @@ -867,14 +1048,14 @@ return console.askYesNo(message, true); - ${compiler:JALVIEW_DIR}/resources/images/jalview_logo_background_fade-640x480.png + ${compiler:JALVIEW_DIR}/${compiler:BACKGROUND} - + @@ -1074,49 +1255,12 @@ return console.askYesNo(message, true); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - @@ -1127,50 +1271,48 @@ return console.askYesNo(message, true); - + - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - + + + - @@ -1179,24 +1321,24 @@ return console.askYesNo(message, true); - - - + + + - + - - + + @@ -1206,5 +1348,6 @@ return console.askYesNo(message, true); +