rename (install4jTemplate, install4jConfFile)
filter(ReplaceTokens, beginToken: '', endToken: '', tokens: ['9999999999': JAVA_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])
+ if (OSX_KEYPASS=="") {
+ println "Empty '"+OSX_KEYPASS+"'"
+ filter(ReplaceTokens, beginToken: 'codeSigning macEnabled="', endToken: '"', tokens: ['true':'codeSigning macEnabled="false"'])
+ filter(ReplaceTokens, beginToken: 'runPostProcessor="true" ',endToken: 'Processor', tokens: ['post':'runPostProcessor="false" postProcessor'])
+ }
}
into install4jDir
inputs.files("$install4jDir/$install4jTemplate")
install4jTemplate = install4j_template.install4j
install4jBuildDir = build/install4j
install4jMediaTypes = windows,macosArchive,linuxRPM,linuxDeb
+OSX_KEYSTORE =
+OSX_KEYPASS =
+JSIGN_SH = echo
eclipse_extra_jdt_prefs_file = .settings/org.eclipse.jdt.core.jalview.prefs