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

kenneth_suter
08.15.2007 426f6fff96db9c07683e5a27b8b745b3e13c29ff
refs
author kenneth_suter <kenneth_suter@localhost>
Friday, June 8, 2007 21:15 +0200
committer kenneth_suter <kenneth_suter@localhost>
Friday, June 8, 2007 21:15 +0200
commit426f6fff96db9c07683e5a27b8b745b3e13c29ff
tree fc77a95e5a0bbb784cb6353a1976bc1b4986660f tree | zip | gz
parent eb30e93628d8dd9bfd7d430a4bb42da75fa284ed view | diff
This commit address several related issues regarding the upgrader CLI:

- After discussing the previously noninteractive option with Brian, I changed the CLI options somewhat. The new CLI design is to specify an interactive option (if interactivity is desired) rather than to have to specify non-interactivity. Additionally interactivity is only supposed to apply to gathering of required information and not whether or not and application is allowed to prompt for such things as continuation following an error. To suppress these sort of prompts you should specify the silent option. So the common plumbing (currently not used by setup or uninstall) now operates as described above and the upgrader now has a both silent and interactive options as described.

- Make BuildExtractor a Launcher. BuildExtractor is a simple program used by the CLI for unzipping an OpenDS .zip file. Previously is was not very smart, relying on the Upgrader to report status and make sure the unzipping went OK. This had the unfortunate side-effect of making the scripts overly complicated resulting in issue 1772, and made it difficult to support interactivity. So the BuildExtractor has been made smarter so that it is capable of parsing the complete command line invocation, printing usage, and performing verification that it performed properly.

- Addresses issue 1772 by simplifying and correcting the upgrade and upgrade.bat scripts.

17 files modified
1 files added
562 ■■■■■ changed files
opends/resource/upgrade 13 ●●●● diff | view | raw | blame | history
opends/resource/upgrade.bat 12 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/Application.java 4 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/ApplicationException.java 5 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/CliApplication.java 7 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java 66 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/CliUserInteraction.java 2 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/Launcher.java 32 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/QuickSetupCli.java 31 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/UserData.java 30 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties 17 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java 2 ●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/BuildExtractor.java 147 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/BuildExtractorCliHelper.java 103 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/HistoricalRecord.java 4 ●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeLauncher.java 7 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 53 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgraderCliHelper.java 27 ●●●● diff | view | raw | blame | history