From 324e37f4b2977b530f272ed709756e00065ccdb1 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Fri, 06 Apr 2007 19:09:13 +0000
Subject: [PATCH] - There are 3 new classes for describing an instance of OpenDS:  Installation which describes the filesystem, Status which can answer questions like 'is the server running' and Configuration which represents an instance of config.ldif.  Part of the implementations of these classes were pulled from CurrentInstallStatus, Installer and Utils with some new methods to support upgrader needs.  There is still some overlap in functionality that I don't like but my attempt at converting the exiting applications to use the new classes ran into problems so I leave that for a future exercise.

---
 opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties |   42 +++++++++++++++++++++++++++++++++++++++---
 1 files changed, 39 insertions(+), 3 deletions(-)

diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
index 641dd33..273b126 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
@@ -157,6 +157,8 @@
 #
 # Upgrade command line messages
 #
+upgrade-launcher-description=This utility may be used to upgrade the Directory \
+  Server to a newer version.
 upgrade-launcher-usage=This utility may be used to upgrade the \
 Directory Server to a newer version.\n\
 Usage:  {0} {options}\n        where {options} include:\n\
@@ -332,6 +334,7 @@
 review-step=Review
 progress-step=Progress
 confirm-uninstall-step=Uninstall Options
+step-upgrade-choose-version=Choose Version
 
 #
 # Icon descriptions.  Used for accessibility.
@@ -579,6 +582,25 @@
 summary-uninstall-finished-with-error=An error occurred.  Check 'Details' text \
 area for more information.
 
+summary-upgrade-not-started=Starting Upgrade...
+summary-upgrade-initializing=Initializing Upgrade...
+summary-upgrade-backing-up-db=Backing Up Data...
+summary-upgrade-backing-up-files=Backing Up Files...
+summary-upgrade-calculating-schema-customization=Calculating Schema \
+  Customizations...
+summary-upgrade-calculating-config-customization=Calculating Configuration\
+  Customizations...
+summary-upgrade-upgrading-components=Upgrading Components...
+summary-upgrade-applying-schema-customization=Applying Schema \
+  Customizations...
+summary-upgrade-applying-config-customization=Applying Configuration\
+  Customizations...
+summary-upgrade-verifying=Verifying Upgrade...
+summary-upgrade-history=Recording Upgrade History...
+summary-upgrade-cleanup=Cleanup...
+summary-upgrade-finished-successfully=Upgrade Finished Successfully
+summary-upgrade-finished-with-errors=Upgrade Finished with Errors
+
 #
 # Progress messages
 #
@@ -605,10 +627,11 @@
 progress-deleting-installation-files=Deleting Files under the Installation Path:
 progress-deleting-file=Deleting file {0}
 progress-deleting-directory=Deleting directory {0}
+progress-copying-file=Copying file {0} to {1}
 progress-server-already-stopped=The Directory Server is already stopped.
 progress-server-waiting-to-stop=Waiting for Server to stop...
 progress-server-stopped=Server stopped.
-deleting-file-does-not-exist=Path {0} does not exist. 
+file-does-not-exist=Path {0} does not exist.
 
 #
 # Progress errors
@@ -622,7 +645,6 @@
 error-zipinputstreamnull=Could not retrieve zip file {0}.  The input stream \
 is null.
 bug-msg=An unexpected error occurred.
-error-configuring=An error occurred configuring the server.
 error-reflection=An unexpected error occurred while loading classes.
 error-creating-temp-file=An error occurred creating the temporary file.
 error-writing-to-temp-file=An error occurred writing to temporary file {0}.
@@ -650,7 +672,8 @@
 error-deleting-directory=Error deleting directory {0}.  Check that you have \
 the rights to delete this directory and that there is no other application \
 using it.
-
+error-copying-file=Error copying file {0} to {1}.
+info-ignoring-file=Ignoring {0} since {1} exists.
 #
 # Install Status: messages displayed in the offline quick setup
 # if server is already installed.
@@ -665,3 +688,16 @@
 installstatus-canoverwritecurrentinstall-msg=The Directory Server contains \
 some database files.<br>If you continue with the setup the contents of these \
 database files will be deleted.
+
+upgrade-hypothetical-upgrade-success=Upgrade from version {0} to version {1} \
+  is supported.
+upgrade-hypothetical-reversion-success=Reversion from version {0} to version \
+  {1} is supported.
+upgrade-hypothetical-upgrade-failure=Upgrade from version {0} to version {1} \
+  is not supported.  To upgrade You must uninstall the current server, install \
+  the new server, and manually migrate your data.
+upgrade-hypothetical-reversion-failure=Reversion from version {0} to version \
+  {1} is not supported.  To revert versions you must uninstall the current \
+  server, install the new server, and manually migrate your data.
+upgrade-hypothetical-versions-the-same=This operation is unnecessary.  Both \
+  new current and proposed version numbers are the same: {0}

--
Gitblit v1.10.0