From 4594389aa8747f9996ffc72a4a5eed5bfce53405 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 14 Mar 2008 18:18:47 +0000
Subject: [PATCH] Fix for issue 3060 (setup should refer to the setup's log *after* the error message) Show the information about the log file after the error message is displayed.
---
opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java b/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java
index 776ef75..0971a89 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java
@@ -293,12 +293,13 @@
}
}
notifyListeners(getLineBreak());
- notifyListenersOfLog();
updateSummaryWithServerState(hmSummary);
setCurrentProgressStep(InstallProgressStep.FINISHED_WITH_ERROR);
Message html = getFormattedError(ex, true);
notifyListeners(html);
LOG.log(Level.SEVERE, "Error installing.", ex);
+ notifyListeners(getLineBreak());
+ notifyListenersOfLog();
}
}
catch (Throwable t)
@@ -313,7 +314,6 @@
}
}
notifyListeners(getLineBreak());
- notifyListenersOfLog();
updateSummaryWithServerState(hmSummary);
setCurrentProgressStep(InstallProgressStep.FINISHED_WITH_ERROR);
ApplicationException ex = new ApplicationException(
@@ -322,6 +322,8 @@
Message msg = getFormattedError(ex, true);
notifyListeners(msg);
LOG.log(Level.SEVERE, "Error installing.", t);
+ notifyListeners(getLineBreak());
+ notifyListenersOfLog();
}
System.setErr(origErr);
System.setOut(origOut);
--
Gitblit v1.10.0