From 5bf6f768ae8b392564ac427810cac9790b1c7705 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 12 Jan 2009 01:03:11 +0000
Subject: [PATCH] Fix for issue 3709 (control-panel: value of "Backup Path" field should be the instance path and not the installation path in the Backup/Restore panels) The code has been update to use the instance path instead of the install path in different places (the default backup directory, the path to be used to retrieve the java properties file, etc.). If we are dealing with a package installation (install and instance paths are different), the control panel and the status command-line will display two paths: one for the install and the other for the instance.

---
 opends/src/guitools/org/opends/guitools/controlpanel/ui/BackupListPanel.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/BackupListPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/BackupListPanel.java
index ac6a741..11a5c19 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/BackupListPanel.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/BackupListPanel.java
@@ -523,7 +523,7 @@
     if (!backupDirectoryInitialized &&
         (parentDirectory.getText().length() == 0))
     {
-      final String path = new File(desc.getInstallPath(),
+      final String path = new File(desc.getInstancePath(),
           org.opends.quicksetup.Installation.BACKUPS_PATH_RELATIVE).
           getAbsolutePath();
       SwingUtilities.invokeLater(new Runnable()

--
Gitblit v1.10.0