From f5ef017da469ddbc44d8cd4edce836a564f46ef2 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Thu, 20 Sep 2007 14:35:30 +0000
Subject: [PATCH] Fix for issue #582 (Need Client-Side Configuration File)

---
 opends/src/server/org/opends/server/tools/ToolConstants.java |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/ToolConstants.java b/opends/src/server/org/opends/server/tools/ToolConstants.java
index b33e259..4b3aa7e 100644
--- a/opends/src/server/org/opends/server/tools/ToolConstants.java
+++ b/opends/src/server/org/opends/server/tools/ToolConstants.java
@@ -90,6 +90,25 @@
 
 
   /**
+   * The name of the opends configuration direction in the user
+   * home directory.
+   */
+  public static final String DEFAULT_OPENDS_CONFIG_DIR = ".opends";
+
+  /**
+   * The default properties file name.
+   */
+  public static final String DEFAULT_OPENDS_PROPERTIES_FILE_NAME =
+    "tools";
+
+  /**
+   * The default properties file extension.
+   */
+  public static final String DEFAULT_OPENDS_PROPERTIES_FILE_EXTENSION =
+    ".properties";
+
+
+  /**
    * The value for the short option configClass.
    */
   public static final char OPTION_SHORT_CONFIG_CLASS = 'C';
@@ -727,5 +746,22 @@
    */
   public static final String OPTION_VALUE_START_DATETIME = "{startTime}";
 
+  /**
+   * The value for the long option propertiesFilePAth .
+   */
+  public static final String OPTION_LONG_PROP_FILE_PATH = "propertiesFilePath";
+
+  /**
+   * The placeholder value of propertiesFilePAth that will be
+   * displayed in usage information.
+   */
+  public static final String OPTION_VALUE_PROP_FILE_PATH =
+    "{propertiesFilePath}";
+
+  /**
+   * The value for the long option propertiesFilePAth .
+   */
+  public static final String OPTION_LONG_NO_PROP_FILE = "noPropertiesFile";
+
 }
 

--
Gitblit v1.10.0