From 24841fa78a4602463372f5f5a678bf2e1ba0b4b6 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 15 Mar 2007 15:52:50 +0000
Subject: [PATCH] Fix for issue 528 (Windows Service Definition for Automatic Startup).

---
 opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties |   49 +++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 45 insertions(+), 4 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties b/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
index f1d1900..4c9d7eb 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
+++ b/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
@@ -31,8 +31,8 @@
 #
 # Setup command line messages
 #
-setup-launcher-usage=This utility may be used to setup the Directory Server.\n\
-Usage:  {0} {options}\n        where {options} include:\n\
+setup-launcher-usage-unix=This utility may be used to setup the Directory \
+Server.\n\Usage:  {0} {options}\n        where {options} include:\n\
 --cli\n\    Specifies to use the command line setup.  If not specified the \
 graphical\n\    interface will be launched.\n\
 -H  or   --help\n    Displays usage information for this program.\n\n\
@@ -64,6 +64,41 @@
 -W {filename}  or   --rootUserPasswordFile {filename}\n    Specifies the path \
 to a file containing the password for the initial Administrative\n\    User \
 for the Directory Server.
+setup-launcher-usage-windows=This utility may be used to setup the Directory \
+Server.\n\Usage:  {0} {options}\n        where {options} include:\n\
+--cli\n\    Specifies to use the command line setup.  If not specified the \
+graphical\n\    interface will be launched.\n\
+-H  or   --help\n    Displays usage information for this program.\n\n\
+The following options will only be taken into account if the option --cli \n\
+(command line) is specified\n\
+-s  or   --silentInstall\n    Perform a silent installation.\n\
+-b {baseDN}  or   --baseDN {baseDN}\n\    Specifies the base DN for user \
+information in the Directory Server.\n    Multiple base DNs may be provided by \
+using this option multiple times.\n\
+-a  or   --addBaseEntry\n    Indicates whether to create the base entry in the \
+Directory Server\n    database.\n\
+-i {ldifFile}  or   --importLDIF {ldifFile}\n    Specifies the path to an LDIF \
+file containing data that should be added to\n    the Directory Server \
+database.  Multiple LDIF files may be provided by\n    using this option \
+multiple times.\n\
+-d {numEntries}  or   --sampleData {numEntries}\n    Specifies that the \
+database should be populated with the specified number\n\    of sample \
+entries.\n\
+-p {port}  or   --ldapPort {port}\n    Specifies the port on which the \
+Directory Server should listen for LDAP\n    communication.\n\
+-j {jmxPort}  or   --jmxPort {jmxPort}\n    Specifies the port on which the \
+Directory Server should listen for JMX\n    communication.\n\
+-S  or   --skipPortCheck\n    Skip the check to determine whether the \
+specified LDAP port is usable.\n\
+-D {rootDN}  or   --rootUserDN {rootDN}\n    Specifies the DN for the initial \
+Administrative User for the Directory Server.\n\
+-w {password}  or   --rootUserPassword {password}\n    Specifies the password \
+for the initial Administrative User for the Directory Server.\n\
+-W {filename}  or   --rootUserPasswordFile {filename}\n    Specifies the path \
+to a file containing the password for the initial Administrative\n\    User \
+for the Directory Server.\n\
+-n or --noWindowsService\n    Do not enable OpenDS to run as a Windows \
+Service.
 setup-launcher-launching-gui=Launching graphical setup...
 setup-launcher-gui-launched-failed=\n\nThe graphical Setup launch failed.\n\n\
 Launching command line Setup...
@@ -489,6 +524,7 @@
 summary-importing-automatically-generated=Importing Automatically-Generated \
 Data...
 summary-starting=Starting Directory Server...
+summary-enabling-windows-service=Enabling Windows Service...
 summary-install-finished-successfully=<b>OpenDS QuickSetup Completed \
 Successfully.</b><br>OpenDS is now installed in {0}.<br><br>Visit the \
 <a href="https://opends.dev.java.net/public/docs/user-docs/OpenDS-QuickReference.html"> \
@@ -499,6 +535,7 @@
 summary-install-finished-with-error=An error occurred.  Check 'Details' text \
 area for more information.
 summary-stopping=Stopping Directory Server...
+summary-disabling-windows-service=Disabling Windows Service...
 summary-deleting-external-db-files=Deleting Database Files outside the \
 Installation Path...
 summary-deleting-external-log-files=Deleting Log Files outside the \
@@ -508,12 +545,12 @@
 Path...
 summary-uninstall-finished-successfully-remove-jarfiles=<b>OpenDS Uninstall \
 Completed Successfully.</b><br><br>To complete the uninstallation, you must \
-delete manually the following files:<br>{0}
+delete manually the following files and directories:\n{0}
 summary-uninstall-finished-successfully=<b>OpenDS Uninstall Completed \
 Successfully.</b>
 summary-uninstall-finished-successfully-remove-jarfiles-cli=OpenDS Uninstall \
 Completed Successfully.\nTo complete the uninstallation, you must \
-delete manually the following files:\n{0}
+delete manually the following files and directories:\n{0}
 summary-uninstall-finished-successfully-cli=OpenDS Uninstall Completed \
 Successfully.
 summary-uninstall-finished-with-error=An error occurred.  Check 'Details' text \
@@ -536,6 +573,8 @@
 ({0} Entries):
 progress-starting=Starting Directory Server:
 progress-stopping=Stopping Directory Server:
+progress-enabling-windows-service=Enabling Windows Service...
+progress-disabling-windows-service=Disabling Windows Service...
 progress-deleting-external-db-files=Deleting Database Files outside the \
 Installation Path:
 progress-deleting-external-log-files=Deleting Log Files outside the \
@@ -563,6 +602,8 @@
 error-creating-temp-file=An error occurred creating the temporary file.
 error-writing-to-temp-file=An error occurred writing to temporary file {0}.
 error-configuring=Error Configuring Directory Server.
+error-enabling-windows-service=Error Enabling Windows service.
+error-disabling-windows-service=Error Disabling Windows service.
 error-creating-base-entry=Error Creating Base Entry.
 error-importing-ldif=Error Importing LDIF File.
 error-import-automatically-generated=Error Importing Automatically- Generated \

--
Gitblit v1.10.0