From 672ab71e6a868a65f91df446da587481c8de64ea Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 08 Jan 2010 10:08:58 +0000
Subject: [PATCH] Fix for issue 4466 (provide installer log location in the progress screen) The user is notified of the existence of the log file at the beginning of the 'Details' area in the progress dialog. If an error occurs, the log file is also referenced: the user is asked to provide the log file if (s)he intends to report the error.

---
 opends/src/quicksetup/org/opends/quicksetup/Application.java |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/Application.java b/opends/src/quicksetup/org/opends/quicksetup/Application.java
index 61e5963..b23dbfc 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/Application.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/Application.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2008 Sun Microsystems, Inc.
+ *      Copyright 2008-2010 Sun Microsystems, Inc.
  */
 
 package org.opends.quicksetup;
@@ -688,6 +688,19 @@
   }
 
   /**
+   * Conditionally notifies listeners of the log file if it
+   * has been initialized.
+   */
+  protected void notifyListenersOfLogAfterError() {
+    File logFile = QuickSetupLog.getLogFile();
+    if (logFile != null) {
+      notifyListeners(getFormattedProgress(
+          INFO_GENERAL_PROVIDE_LOG_IN_ERROR.get(logFile.getPath())));
+      notifyListeners(getLineBreak());
+    }
+  }
+
+  /**
    * Writes an initial record in the installation's historical
    * log describing moving from one version to another.
    * @param fromVersion from with install will be migrated

--
Gitblit v1.10.0