X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=utils%2Finstall4j%2Finstall4j8_template.install4j;h=53f7853bb7df43968b6d1c1028450fe47aff646a;hb=ecdae8027a9bad9e43f0ab12c54aec09fade15a1;hp=1d7c17f47f81f5f9990e86fdcf95a16048ae2d62;hpb=8ee4a20c367cb4fcda616611646710593dc98b60;p=jalview.git diff --git a/utils/install4j/install4j8_template.install4j b/utils/install4j/install4j8_template.install4j index 1d7c17f..53f7853 100644 --- a/utils/install4j/install4j8_template.install4j +++ b/utils/install4j/install4j8_template.install4j @@ -1,33 +1,100 @@ - - - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + *.dylib + *.so + *.jnilib + unpack200 + tnameserv + servertool + rmiregistry + rmid + policytool + pack200 + orbd + keytool + jjs + java + jspawnhelper + libfreetype.dylib.6 + applet + jaotc + jfr + jrunscript + libjli.dylib + + - + - - @@ -35,15 +102,19 @@ - - - - - - - + + + + + + + + + + + @@ -71,70 +142,39 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + - + - - - - - - - - - - - - + - + + 2350 + 2450 + 2641 + + ${compiler:file("${compiler:INFO_PLIST_FILE_ASSOCIATIONS_FILE}")} - + - + @@ -166,7 +206,7 @@ - ../../resources/images/jalview_logo_background_fade-640x480.png + ${compiler:JALVIEW_DIR}/${compiler:BACKGROUND} @@ -204,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() + @@ -237,7 +306,7 @@ - ../../resources/images/jalview_logo_background_fade-640x480.png + ${compiler:JALVIEW_DIR}/${compiler:BACKGROUND} @@ -376,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") @@ -404,7 +497,7 @@ return console.askOkCancel(message, true); - + @@ -424,8 +517,38 @@ return console.askOkCancel(message, true); extensions_to_be_replaced_by_gradle + + + Finished creating file associations + + + + + + + + + + + + JALVIEW + jalview + + + + + JALVIEW + jalviews + + + + + JALVIEW + ${compiler:EXTRA_SCHEME} + + @@ -440,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} - ../../resources/images/jalview_logos.ico + ${compiler:JALVIEW_DIR}/${compiler:WINDOWS_ICONS_FILE} + ${compiler:JALVIEW_NAME} - ../../resources/images/JalviewLogo_Huge.png + ${compiler:JALVIEW_DIR}/${compiler:PNG_ICON_FILE} @@ -462,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} - ../../resources/images/JalviewLogo_Huge.png + ${compiler:JALVIEW_DIR}/${compiler:PNG_ICON_FILE} - ../../resources/images/jalview_logos.ico + ${compiler:JALVIEW_DIR}/${compiler:WINDOWS_ICONS_FILE} @@ -486,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 ) + @@ -514,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 ) + @@ -551,7 +730,7 @@ return console.askOkCancel(message, true); - ../../resources/images/jalview_logo_background_fade-640x480.png + ${compiler:JALVIEW_DIR}/${compiler:BACKGROUND} @@ -616,7 +795,7 @@ return console.askYesNo(message, true); - + jre @@ -634,117 +813,117 @@ return console.askYesNo(message, true); - $$GETDOWN_DIST_DIR$$ + getdown-launcher.jar - $$GETDOWN_ALT_DIR$$ + getdown-launcher-old.jar - $$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 @@ -754,22 +933,67 @@ return console.askYesNo(message, true); - dist + resource - release + dist - alt + release - resource + alt + + + + + dev + + + + + build + + + + + alt_* + + + + + dev_* + + + + + build_* + + + + + ${compiler:WRAPPER_SCRIPT_BIN_DIR} + + + + + bin + + + + + channel.props + + + + + channel.propsv @@ -814,16 +1038,24 @@ return console.askYesNo(message, true); + + + 255 + 255 + 255 + 255 + + - ../../resources/images/jalview_logo_background_fade-640x480.png + ${compiler:JALVIEW_DIR}/${compiler:BACKGROUND} - + @@ -1023,79 +1255,23 @@ return console.askYesNo(message, true); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - + - - - - - - - - - - - - - - - - + - + @@ -1108,112 +1284,70 @@ return console.askYesNo(message, true); - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - + - - - - + + - - - - - - - - - - - - - - - - + - - - - + + - + - + - - + + - + + + - - - - +