From b471bc6b9f2a087e8bb8e3adc6e5d1b32e80db8d Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 07 Oct 2009 12:43:38 +0000
Subject: [PATCH] Fix for issue 4271 (control-panel: in remote mode, "Installation Path" is incorrect) Since using File when you have different OS in the control panel and in the managed server can be really problematic, use String instead in the ServerDescriptor object.

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

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/task/Task.java b/opends/src/guitools/org/opends/guitools/controlpanel/task/Task.java
index 9c920e1..1bc8472 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/task/Task.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/task/Task.java
@@ -644,8 +644,8 @@
       // comparing ports: we might be running locally on a stopped instance with
       // the same configuration as a "remote" (though located on the same
       // machine) server.
-      File f1 = getServer().getInstancePath();
-      File f2 = task.getServer().getInstancePath();
+      String f1 = getServer().getInstancePath();
+      String f2 = task.getServer().getInstancePath();
 
       String host1 = getServer().getHostname();
       String host2 = task.getServer().getHostname();

--
Gitblit v1.10.0