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

kenneth_suter
20.31.2007 724dc38dfdca4df6b5426d1feba964aa3892a417
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
commit724dc38dfdca4df6b5426d1feba964aa3892a417
tree b46bc477b2b02031a7887011a22351c84491dfea tree | zip | gz
parent a1014a5c52d02fa5044300e49393b265db5e8dd9 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
opends/resource/upgrade.bat 10 ●●●●● diff | view | raw | blame | history
opends/src/messages/messages/quicksetup.properties 3 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/Installation.java 10 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Reverter.java 60 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Stage.java 127 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 51 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/FileManager.java 27 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/util/FileManagerTest.java 33 ●●●●● diff | view | raw | blame | history