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

kenneth_suter
28.39.2007 7ec591ddc0861edc2fbee5ef0eabac4e023de1a6
refs
author kenneth_suter <kenneth_suter@localhost>
Thursday, June 28, 2007 15:39 +0200
committer kenneth_suter <kenneth_suter@localhost>
Thursday, June 28, 2007 15:39 +0200
commit7ec591ddc0861edc2fbee5ef0eabac4e023de1a6
tree 2ce721136dcbb78d5f5cab6b7b6af3dd6b7f14b0 tree | zip | gz
parent 01d71e5b45457a8d6db016d3634e51880046c2ef view | diff
This commit address issue 1674 <https://opends.dev.java.net/issues/show_bug.cgi?id=1674> to make the webstart and offline installers cancelable.  The plumbing for cancelability is already in place since the upgrader makes use of it.  This commit for the most part implements the actions that the installers must perform when the operation is canceled.

Note that I have not implemented steps necessary to unregister a server from replication but have left this as 'todo' for the time being.

For the Web Start installer:
- Stop the server if running.
- If the install has registered this application as a windows service unregister it.
- Delete the files that have been installed.

For the offline installer there are more steps since we can't just wipe out all the files:

- Stop the server if running.
- If the install has registered this application as a windows service unregister it.
- Revert the configuration to the base configuration.
- If SSL was configured delete the self-signed cert (if necessary), delete keystore, keystore.pin and truststore.
- Delete the database files.
9 files modified
428 ■■■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Application.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/InstallProgressStep.java 17 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java 106 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/InstallerHelper.java 13 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java 123 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java 71 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties 14 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/ProgressPanel.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/FileManager.java 78 ●●●●● diff | view | raw | blame | history