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/guitools/org/opends/guitools/uninstaller/UninstallGuiLauncher.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/uninstaller/UninstallGuiLauncher.java b/opends/src/guitools/org/opends/guitools/uninstaller/UninstallGuiLauncher.java
index ed9839a..5d3fe73 100644
--- a/opends/src/guitools/org/opends/guitools/uninstaller/UninstallGuiLauncher.java
+++ b/opends/src/guitools/org/opends/guitools/uninstaller/UninstallGuiLauncher.java
@@ -34,7 +34,7 @@
 import java.io.File;
 import java.util.logging.Logger;
 
-import org.opends.quicksetup.ApplicationReturnCode;
+import org.opends.quicksetup.ReturnCode;
 import org.opends.quicksetup.Installation;
 import org.opends.quicksetup.QuickSetupLog;
 import org.opends.quicksetup.util.Utils;
@@ -136,15 +136,14 @@
       {
         printVersion();
       }
-      System.exit(ApplicationReturnCode.ReturnCode.PRINT_VERSION
-          .getReturnCode());
+      System.exit(ReturnCode.PRINT_VERSION.getReturnCode());
     }
     else if (shouldPrintUsage()) {
       if (!argParser.usageOrVersionDisplayed())
       {
         printUsage(false);
       }
-      System.exit(ApplicationReturnCode.ReturnCode.SUCCESSFUL.getReturnCode());
+      System.exit(ReturnCode.SUCCESSFUL.getReturnCode());
     } else {
       willLaunchGui();
       int exitCode = launchGui(args);

--
Gitblit v1.10.0