def stdout
def stderr
doFirst {
- def timeoutms = Integer.valueOf(jalviewjs_chromium_timeout) * 1000
+ def timeoutms = Integer.valueOf(jalviewjs_chromium_overall_timeout) * 1000
def binary = file(chromiumBinary)
if (!binary.exists()) {
errorOutput = execStderr
executable(chromiumBinary)
args(execArgs)
+ println "COMMAND: '"+commandLine.join(" ")+"'"
}
executor.shutdownNow()
}
executor.shutdownNow()
}
// if no change in stderr for 10s then also end
- if (noChangeIterations >= 10) {
+ if (noChangeIterations >= jalviewjs_chromium_idle_timeout) {
executor.shutdownNow()
}
if (stderrString.length() == noChangeBytes) {
# for developing in Eclipse as IDE, set this to automatically copy current swingjs/net.sf.j2s.core.jar to your dropins dir
jalviewjs_eclipseIDE_auto_copy_j2s_plugin = false
# Override this in a local.properties file
-jalviewjs_eclipse_root = ~/buildtools/eclipse/jee-2019-09
+jalviewjs_eclipse_root = ~/buildtools/eclipse/latest
jalviewjs_eclipse_dropins_dir = utils/jalviewjs/eclipse/dropins
jalviewjs_swingjs_zip = swingjs/SwingJS-site.zip
jalviewjs_chromium_binary = ~/buildtools/chromium/chrome
jalviewjs_macos_chromium_binary = /Applications/Chromium.app/Contents/MacOS/Chromium
jalviewjs_chromium_user_dir = chromium
-jalviewjs_chromium_timeout = 30
+jalviewjs_chromium_idle_timeout = 10
+jalviewjs_chromium_overall_timeout = 40
jalviewjs_chromium_profile_name = BUILD
jalviewjs_stderr_launch = utils/jalviewjs/chromium_test/jalview_bin_Jalview-stderr.html
jalviewjs_desktop_init_string = JALVIEWJS: CREATED DESKTOP