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

kenneth_suter
17.03.2007 8ad17870ae644a4738a5fe38048e163334efbbce
refs
author kenneth_suter <kenneth_suter@localhost>
Thursday, May 17, 2007 15:03 +0200
committer kenneth_suter <kenneth_suter@localhost>
Thursday, May 17, 2007 15:03 +0200
commit8ad17870ae644a4738a5fe38048e163334efbbce
tree 81377b2f9a15b3f166af35b46c777296db2b0952 tree | zip | gz
parent 9abc65098b6b8267dc67847433a5b041a3217096 view | diff
This commit cleans up the output for both the CLI and Web Start versions of the upgrader so that it conforms to Brian's proposal to limit messages to the progress text area and CLI output.  There is some new plumbing that affects but should not change other applications.

- StandardOutputSuppressor is introduced to help manage suppressing output to the command line which is necessary for server operations like starting the server which output text to standard out. This does not affect the output from showing up in the application log nor any OperationOutput returned from an operation.

- InProcessServerController suppresses server standard output for all operations.

- ServerController has input parameters for controlling whether or not standard output is suppressed since the installer and uninstaller output is still in the old style. Someday we can remove these when the output from those applications is made less verbose.

- Added a getFormattedError() similar to getFormattedDone() for creating an end-of-current-step marker when the current step does not go well.

9 files modified
1 files added
581 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties 10 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java 5 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 54 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/HtmlProgressMessageFormatter.java 15 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java 122 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/PlainTextProgressMessageFormatter.java 16 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/ProgressMessageFormatter.java 6 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java 243 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/ServerHealthChecker.java 2 ●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/StandardOutputSuppressor.java 108 ●●●●● diff | view | raw | blame | history