From 6a6aad772616e17518a5d24a9cd90f03f4d4ada7 Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Wed, 27 Sep 2006 16:11:33 +0000
Subject: [PATCH] Issue 729: import LDIF tool returns successful exit code on failure.

---
 opends/src/server/org/opends/server/messages/ToolMessages.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/ToolMessages.java b/opends/src/server/org/opends/server/messages/ToolMessages.java
index 0376da1..e9c98a7 100644
--- a/opends/src/server/org/opends/server/messages/ToolMessages.java
+++ b/opends/src/server/org/opends/server/messages/ToolMessages.java
@@ -6603,6 +6603,15 @@
 
 
   /**
+   * The message ID for the message that will be used to indicate that the
+   * LDIF import was unsuccessful.  This does not take any arguments.
+   */
+  public static final int MSGID_INSTALLDS_IMPORT_UNSUCCESSFUL =
+       CATEGORY_MASK_TOOLS | SEVERITY_MASK_SEVERE_ERROR | 672;
+
+
+
+  /**
    * Associates a set of generic messages with the message IDs defined in this
    * class.
    */
@@ -8316,6 +8325,8 @@
                     "database....");
     registerMessage(MSGID_INSTALLDS_IMPORT_SUCCESSFUL,
                     "Import complete.");
+    registerMessage(MSGID_INSTALLDS_IMPORT_UNSUCCESSFUL,
+                    "Import failed.");
     registerMessage(MSGID_INSTALLDS_STATUS_SUCCESS,
                     "The " + SHORT_NAME + " setup process has completed " +
                     "successfully.");

--
Gitblit v1.10.0