From 6ce74d5e7ebd502c1d1d102860b6128f88b65585 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 20 Nov 2006 01:39:10 +0000
Subject: [PATCH] Update the command-line setup tool to provide the ability to populate the database with sample data, like the GUI version.

---
 opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties b/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
index ab7d1b9..59d2c03 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
+++ b/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
@@ -18,6 +18,9 @@
 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\
 -S  or   --skipPortCheck\n    Skip the check to determine whether the \
@@ -93,7 +96,7 @@
 directory-not-writable=You do not have write access on the directory {0}. \
 You must have file right access on the Installation directory.
 not-enough-disk-space=There is not enough free disk space under {0}.\nAt \
-least {1} megabytes of free disk space are required to install OpenDS.  
+least {1} megabytes of free disk space are required to install OpenDS.
 invalid-port-value-range=The LDAP Listener Port must be an integer between \
 {0} and {1}.
 cannot-bind-priviledged-port=Cannot bind to privileged port {0}.
@@ -102,7 +105,7 @@
 not-a-directory-manager-dn=The provided Administrative User DN is not a valid \
 DN.
 directory-manager-dn-is-config-dn=The provided Administrative User DN is \
-used for the configuration of the Directory Server. 
+used for the configuration of the Directory Server.
 not-equal-pwd=The passwords you have provided do not match.
 pwd-too-short=The minimum length required for the Administrative User \
 password is {0} characters.
@@ -152,9 +155,9 @@
 information-icon-tooltip=Information.
 
 #
-# Icon paths.  This is done to be able  to provide localizable icons (for 
+# Icon paths.  This is done to be able  to provide localizable icons (for
 # instance for those icons containing a text).  If there is not a localized
-# version of the icon it should be left as it is. 
+# version of the icon it should be left as it is.
 # The path specified here are the relative resource name to the images.
 #
 current-step-icon=images/currentstep.png
@@ -172,9 +175,9 @@
 #
 welcome-panel-title=Welcome
 # The following line contains some HTML tags.  translators should respect them.
-# Concerning the URL, depending on how works the product page translators 
-# have to modify it or not: if the server uses the locale of the browser to display 
-# a language there is no translation to be done but if we have specific URL for 
+# Concerning the URL, depending on how works the product page translators
+# have to modify it or not: if the server uses the locale of the browser to display
+# a language there is no translation to be done but if we have specific URL for
 # each language the URL must be localized.
 welcome-panel-instructions=The OpenDS QuickSetup tool will ask you for some \
 basic server and data configuration settings and will get your server up \
@@ -269,9 +272,9 @@
 #
 confirm-uninstall-panel-title=Confirm uninstall
 # The following line contains some HTML tags.  translators should respect them.
-# Concerning the URL, depending on how works the product page translators 
-# have to modify it or not: if the server uses the locale of the browser to display 
-# a language there is no translation to be done but if we have specific URL for 
+# Concerning the URL, depending on how works the product page translators
+# have to modify it or not: if the server uses the locale of the browser to display
+# a language there is no translation to be done but if we have specific URL for
 # each language the URL must be localized.
 confirm-uninstall-panel-instructions=The OpenDS Uninstall tool will \
 stop the OpenDS server if it is running and will delete all the user data \
@@ -362,4 +365,4 @@
 installstatus-installed=OpenDS Server Already Configured<br> \
 QuickSetup can only be used with OpenDS Servers that have not yet been \
 configured.  The current server:{0}
-installstatus-not-installed=The Directory Server is not installed.
\ No newline at end of file
+installstatus-not-installed=The Directory Server is not installed.

--
Gitblit v1.10.0