From 394f9db3f8d0258fcff62f01321ae7aad59fb371 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 03 Apr 2008 21:06:07 +0000
Subject: [PATCH] Fix for issue 3118 (No error reported by the setup (GUI) if imported ldif file doesn't match the specified base DN)
---
opends/src/quicksetup/org/opends/quicksetup/Application.java | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/Application.java b/opends/src/quicksetup/org/opends/quicksetup/Application.java
index 97e4923..79b7191 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/Application.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/Application.java
@@ -842,6 +842,16 @@
}
/**
+ * Method that is invoked by the printstreams with the messages received
+ * on operations such as start or import. This is done so that the
+ * application can parse this messages and display them.
+ * @param message the message that has been received
+ */
+ protected void applicationPrintStreamReceived(String message)
+ {
+ }
+
+ /**
* This class is used to notify the ProgressUpdateListeners of events
* that are written to the standard error. It is used in WebStartInstaller
* and in OfflineInstaller. These classes just create a ErrorPrintStream and
@@ -947,7 +957,8 @@
}
notifyListeners(mb.toMessage());
- LOG.log(Level.INFO, "server: " + msg);
+ applicationPrintStreamReceived(msg);
+ LOG.log(Level.INFO, msg);
isFirstLine = false;
}
--
Gitblit v1.10.0