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

jvergara
13.03.2008 48d3983dd2c841ff2610a5bf57faa1f7c95b8631
refs
author jvergara <jvergara@localhost>
Friday, June 13, 2008 13:03 +0200
committer jvergara <jvergara@localhost>
Friday, June 13, 2008 13:03 +0200
commit48d3983dd2c841ff2610a5bf57faa1f7c95b8631
tree 7f6290e57419e65b285eef800c0e9b6ba1111abd tree | zip | gz
parent 7557499bbc3b3436922d8f50248f8a7d0bd90675 view | diff
Fix for 3338 (upgrade breaks the java_home parameter)

The problem is that the upgrade wipes out the set-java-home files. This fix recreates them by calling dsjavaproperties script if they did exist before the upgrade is run. The approach of generating the files is more appropriate than keeping the old files since they might be changes in the scripts after an upgrade.

3 files modified
63 ■■■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Installation.java 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/MigrationManager.java 13 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 39 ●●●●● diff | view | raw | blame | history