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/ui/InstallWelcomePanel.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/InstallWelcomePanel.java b/opends/src/quicksetup/org/opends/quicksetup/ui/InstallWelcomePanel.java
index f7b8cec..f01a81a 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/InstallWelcomePanel.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/InstallWelcomePanel.java
@@ -71,7 +71,8 @@
{
msgKey = "welcome-panel-webstart-instructions";
args = new String[3];
- String cmd = Utils.isWindows()?"setup.bat":"setup";
+ String cmd = Utils.isWindows()?Utils.getWindowsSetupFileName():
+ Utils.getUnixSetupFileName();
args[0] = UIFactory.applyFontToHtml(cmd,
UIFactory.INSTRUCTIONS_MONOSPACE_FONT);
args[1] = org.opends.server.util.DynamicConstants.COMPACT_VERSION_STRING;
--
Gitblit v1.10.0