installDir(file(install4jHomeDir))
mediaTypes = Arrays.asList(install4j_media_types.split(","))
- if (install4j_faster.equals("true") || CHANNEL.startsWith("DEVELOP") || CHANNEL.startsWith("LOCAL")) {
- faster = true
- }
}
from (install4jDir) {
include install4j_template
rename (install4j_template, install4jConfFileName)
- /*
- filter(ReplaceTokens,
- beginToken: '',
- endToken: '',
- tokens: [
- '0000000000': JAVA_MIN_VERSION,
- '9999999999': JAVA_MAX_VERSION
- ]
- )
-
- filter(ReplaceTokens,
- beginToken: '$$',
- endToken: '$$',
- tokens: [
- 'JAVA_VERSION': JAVA_VERSION,
- 'JAVA_INTEGER_VERSION': JAVA_INTEGER_VERSION,
- 'VERSION': JALVIEW_VERSION,
- 'MACOS_JAVA_VM_DIR': macosJavaVMDir,
- 'MACOS_JAVA_VM_TGZ': macosJavaVMTgz,
- 'WINDOWS_JAVA_VM_DIR': windowsJavaVMDir,
- 'WINDOWS_JAVA_VM_TGZ': windowsJavaVMTgz,
- 'INSTALL4JINFOPLISTFILEASSOCIATIONS': install4j_info_plist_file_associations,
- 'INSTALLER_TEMPLATE_MD5': install4jTemplateMd5,
- 'COPYRIGHT_MESSAGE': install4j_copyright_message,
- 'MACOS_BUNDLE_ID': install4j_macOS_bundle_id,
- 'GETDOWN_RESOURCE_DIR': getdown_resource_dir,
- 'GETDOWN_DIST_DIR': getdown_app_dir,
- 'GETDOWN_ALT_DIR': getdown_app_dir_alt,
- 'GETDOWN_INSTALL_DIR': getdown_install_dir
- ]
- )
- */
+ // TODO change these ReplaceTokens to something better. Possibly ${compiler:variables} but also the ant.replaceregexp below, or perhaps a proper xmldom parse
if (OSX_KEYPASS == "") {
filter(ReplaceTokens,
beginToken: 'codeSigning macEnabled="',
destination = "${jalviewDir}/${install4j_build_dir}/${JAVA_VERSION}"
buildSelected = true
+ if (install4j_faster.equals("true") || CHANNEL.startsWith("DEVELOP") || CHANNEL.startsWith("LOCAL")) {
+ // this doesn't seem to work
+ faster = true
+ disableSigning = true
+ }
+
if (OSX_KEYPASS) {
macKeystorePassword=OSX_KEYPASS
}