From 6df6635f1250c399a2f39d87d0534301ce4c22d7 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Fri, 31 Aug 2007 15:43:58 +0000
Subject: [PATCH] Exposes the reversion functionality of the upgrader (issue 2169). Originally it was intended to be exposed as a new script but in order to avoid the negativity of having a command devoted to undoing the upgrade and to avoid more scripts in the top-level directory, I've exposed the functionality as 2 new options in the existing upgrade script. I will update the Wiki with documentation for these new options soon.
---
opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java b/opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java
index e5ca041..71a4139 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java
@@ -39,7 +39,7 @@
import org.opends.quicksetup.ApplicationException;
-import org.opends.quicksetup.ApplicationReturnCode;
+import org.opends.quicksetup.ReturnCode;
import org.opends.server.util.SetupUtils;
import static org.opends.quicksetup.util.Utils.*;
@@ -138,7 +138,7 @@
{
// This is a bug
ex =
- new ApplicationException(ApplicationReturnCode.ReturnCode.BUG,
+ new ApplicationException(ReturnCode.BUG,
getThrowableMsg(INFO_BUG_MSG.get(),mfe), mfe);
} catch (IOException ioe)
{
@@ -154,14 +154,14 @@
}
ex =
new ApplicationException(
- ApplicationReturnCode.ReturnCode.DOWNLOAD_ERROR,
+ ReturnCode.DOWNLOAD_ERROR,
getThrowableMsg(
INFO_DOWNLOADING_ERROR.get(buf.toString()), ioe), ioe);
} catch (Throwable t)
{
// This is a bug
ex =
- new ApplicationException(ApplicationReturnCode.ReturnCode.BUG,
+ new ApplicationException(ReturnCode.BUG,
getThrowableMsg(INFO_BUG_MSG.get(), t), t);
}
}
@@ -366,7 +366,7 @@
{
ex =
new ApplicationException(
- ApplicationReturnCode.ReturnCode.DOWNLOAD_ERROR,
+ ReturnCode.DOWNLOAD_ERROR,
INFO_DOWNLOADING_ERROR.get(url.toString()), null);
}
--
Gitblit v1.10.0