// Asynchronous or synchronous progress updates
protected void EQinvoke(Runnable r) {
+
try {
readConfig(false);
- if (_ifc.progressSync) {
+ } catch (Exception e) {
+ log.warning("Could't read config when invoking GUI action", "Exception", e.getMessage());
+ }
+ if (! (_ifc == null) && _ifc.progressSync) {
+ try {
EventQueue.invokeAndWait(r);
- } else {
+ } catch (Exception e) {
+ log.warning("Tried to invokeAndWait but couldn't. Going to invokeLater instead", "Exception", e.getMessage());
EventQueue.invokeLater(r);
}
- } catch (Exception e) {
+ } else {
EventQueue.invokeLater(r);
}
+
}
-
+
protected Application _app;
protected Application.UpdateInterface _ifc = new Application.UpdateInterface(Config.EMPTY);
mvn clean package -Dgetdown.host.whitelist="jalview.org,*.jalview.org"
RET=$?
if [ x$RET = x0 ]; then
- cp launcher/target/getdown-launcher-$VERSION.jar ../../../getdown/lib/getdown-launcher.jar
- cp core/target/getdown-core-$VERSION.jar ../../../getdown/lib/getdown-core.jar
- cp core/target/getdown-core-$VERSION.jar ../../../j8lib/getdown-core.jar
- cp core/target/getdown-core-$VERSION.jar ../../../j11lib/getdown-core.jar
+ cp launcher/target/getdown-launcher-$VERSION.jar ../../../getdown/lib/getdown-launcher.jar && echo "Copied getdown-launcher.jar to getdown/lib"
+ cp core/target/getdown-core-$VERSION.jar ../../../getdown/lib/getdown-core.jar && echo "Copied getdown-core.jar to getdown/lib"
+ cp core/target/getdown-core-$VERSION.jar ../../../j8lib/getdown-core.jar && echo "Copied getdown-core.jar to j8lib"
+ cp core/target/getdown-core-$VERSION.jar ../../../j11lib/getdown-core.jar && echo "Copied getdown-core.jar to j11lib"
fi