From 111c848e2d90d962a7f48d7b4121304247829473 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 05 Sep 2007 06:40:30 +0000
Subject: [PATCH] The following changes are targetted to fix a certain number of issues related to the setup command line:
---
opends/src/quicksetup/org/opends/quicksetup/Installation.java | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/Installation.java b/opends/src/quicksetup/org/opends/quicksetup/Installation.java
index 5514825..5b06e72 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/Installation.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/Installation.java
@@ -139,6 +139,16 @@
public static final String WINDOWS_SETUP_FILE_NAME = "setup.bat";
/**
+ * The UNIX GUI setup script file name.
+ */
+ public static final String UNIX_SETUP_GUI_FILE_NAME = "setup-gui";
+
+ /**
+ * The Windows GUI setup batch file name.
+ */
+ public static final String WINDOWS_SETUP_GUI_FILE_NAME = "setup-gui.bat";
+
+ /**
* The UNIX uninstall script file name.
*/
public static final String UNIX_UNINSTALL_FILE_NAME = "uninstall";
@@ -744,6 +754,23 @@
}
/**
+ * Gets the status command file appropriate for the current operating
+ * system.
+ * @return File object representing the status command
+ */
+ public File getStatusCommandFile() {
+ File statusPanelCommandFile;
+ if (Utils.isWindows()) {
+ statusPanelCommandFile = new File(getBinariesDirectory(),
+ WINDOWS_STATUSCLI_FILE_NAME);
+ } else {
+ statusPanelCommandFile = new File(getBinariesDirectory(),
+ UNIX_STATUSCLI_FILE_NAME);
+ }
+ return statusPanelCommandFile;
+ }
+
+ /**
* Gets information about the build that was used to produce the bits
* for this installation.
* @return BuildInformation object describing this installation
--
Gitblit v1.10.0