From e7934050009ce7e6f43e2ce7d56c827a23ac287e Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 26 Feb 2007 21:13:28 +0000
Subject: [PATCH] Centralize the hardcoded strings of the different commands used in the setup and in the control panel in the class Utils.java.
---
opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java b/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
index af96823..f6038e1 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
@@ -636,10 +636,12 @@
if (Utils.isWindows())
{
- argList.add(Utils.getPath(getBinariesPath(), "stop-ds.bat"));
+ argList.add(Utils.getPath(getBinariesPath(),
+ Utils.getWindowsStopFileName()));
} else
{
- argList.add(Utils.getPath(getBinariesPath(), "stop-ds"));
+ argList.add(Utils.getPath(getBinariesPath(),
+ Utils.getUnixStopFileName()));
}
String[] args = new String[argList.size()];
argList.toArray(args);
--
Gitblit v1.10.0