mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
20.31.2007 49aa9ac936e07937b7e08b17759f904e2f10d3fb
refs
author kenneth_suter <kenneth_suter@localhost>
Thursday, September 20, 2007 21:31 +0200
committer kenneth_suter <kenneth_suter@localhost>
Thursday, September 20, 2007 21:31 +0200
commit49aa9ac936e07937b7e08b17759f904e2f10d3fb
tree 0eb0eb9093b652db10fc00e18c51287642e7ba8a tree | zip | gz
parent 4874b6f0375b090c38cfaea9196dbcbb36ebbe8c view | diff
Fix for issue 2227 in which unpredictable behavior results from an upgrade or reversion process replacing the upgrade script while the upgrade process is running on Windows.  This code will compare the running version of the script with the new version to see whether or not the script actually needs replacing.  If so the script is copied with an extension NEW.  When the script starts it checks for the existence of upgrade.bat.NEW and if exists prints a message informing the user that they must replace the old version of the script with the new version before continuing.
1 files added
7 files modified
321 ■■■■ changed files
opendj-sdk/opends/resource/upgrade.bat 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/quicksetup.properties 3 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Installation.java 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Reverter.java 60 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Stage.java 127 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 51 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/FileManager.java 27 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/util/FileManagerTest.java 33 ●●●●● diff | view | raw | blame | history