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

kenneth_suter
17.05.2007 14bdfc0b57278f2bc95bea02745f60317411af2b
refs
author kenneth_suter <kenneth_suter@localhost>
Thursday, May 17, 2007 15:05 +0200
committer kenneth_suter <kenneth_suter@localhost>
Thursday, May 17, 2007 15:05 +0200
commit14bdfc0b57278f2bc95bea02745f60317411af2b
tree 701f5fedc64a0bfb83a27a81c8cf9e5e4077b068 tree | zip | gz
parent 8ad17870ae644a4738a5fe38048e163334efbbce view | diff
The upgrader determines schema and configuration customization by performing an ldif-diff of the base schema and configuration files with those in the current server.  Previously the invocation of this command just used the internal LDIFDiff class to perform this work.  Given the recent discovery of problems associated with using DirectoryServer in the same process when the filesystem bits and the jars are different version, this commit externalizes the command invocation to an external process using the currently installed jars.

I have created a new class ExternalTools for managing invocation of OpenDS tools in a different process, similar to what has been done with the ServerController. In fact I have moved the backupDatabases method from ServerController to the new ExternalTools class since conceptually its not really about controlling the server.
4 files modified
2 files added
350 ■■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/Installation.java 10 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 61 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/ExternalTools.java 135 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java 2 ●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/OutputReader.java 67 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java 75 ●●●●● diff | view | raw | blame | history