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

kenneth_suter
17.05.2007 293d6dd9da947951ac774636e97f6667ed669a18
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
commit293d6dd9da947951ac774636e97f6667ed669a18
tree 96cc187ad194fe67ade5ed63c5c67088550aba60 tree | zip | gz
parent ca07d757efc25246e050c37e0d0b479072c51f56 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.
2 files added
4 files modified
350 ■■■■■ changed files
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/Upgrader.java 61 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ExternalTools.java 135 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/OutputReader.java 67 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java 75 ●●●●● diff | view | raw | blame | history