From 66962c445640f43cf0b1a0bfef5afc9f05e511ac Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 28 Apr 2009 15:14:27 +0000
Subject: [PATCH] Fix for issue 3943 (Inconsistent installation path across tools) Try to use File.getCanonicalPath to display the paths.  If this does not work use File.getAbsolutePath() as fall back.

---
 opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java b/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
index 97c56ec..9c89429 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -2069,7 +2069,8 @@
             getFormattedSuccess(
                     INFO_SUMMARY_INSTALL_FINISHED_SUCCESSFULLY.get(
                             formatter.getFormattedText(
-                                    Message.raw(getInstancePath())),
+                                    Message.raw(
+                                        getPath(new File(getInstancePath())))),
                             INFO_GENERAL_SERVER_STOPPED.get(),
                             cmd)));
     hmSummary.put(InstallProgressStep.FINISHED_CANCELED,
@@ -2103,7 +2104,8 @@
             getFormattedSuccess(
                     INFO_SUMMARY_INSTALL_FINISHED_SUCCESSFULLY.get(
                             formatter.getFormattedText(
-                                    Message.raw(getInstancePath())),
+                                    Message.raw(
+                                        getPath(new File(getInstancePath())))),
                             status,
                             cmd)));
     hmSummary.put(InstallProgressStep.FINISHED_WITH_ERROR,

--
Gitblit v1.10.0