| | |
| | | checkAbort(); |
| | | |
| | | setCurrentProgressStep(InstallProgressStep.CONFIGURING_SERVER); |
| | | notifyListenersOfLog(false); |
| | | notifyListeners(getLineBreak()); |
| | | configureServer(); |
| | | checkAbort(); |
| | | |
| | |
| | | notifyListeners(getFormattedError(exception, true)); |
| | | logger.error(LocalizableMessage.raw("Error installing.", exception)); |
| | | notifyListeners(getLineBreak()); |
| | | notifyListenersOfLog(true); |
| | | notifyListenersOfExistingLogFile(); |
| | | } |
| | | |
| | | private void stopServerIfNeeded() |
| | |
| | | return Utils.getInstancePathFromInstallPath(installPath); |
| | | } |
| | | |
| | | private void notifyListenersOfLog(final boolean isError) |
| | | private void notifyListenersOfExistingLogFile() |
| | | { |
| | | if (tempLogFile.isEnabled()) |
| | | { |
| | | final String tempLogFilePath = tempLogFile.getPath(); |
| | | notifyListeners(getFormattedProgress(isError ? INFO_GENERAL_PROVIDE_LOG_IN_ERROR.get(tempLogFilePath) |
| | | : INFO_GENERAL_SEE_FOR_DETAILS.get(tempLogFilePath))); |
| | | notifyListeners(getFormattedProgress(INFO_GENERAL_PROVIDE_LOG_IN_ERROR.get(tempLogFilePath))); |
| | | notifyListeners(getLineBreak()); |
| | | } |
| | | } |