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

kenneth_suter
28.39.2007 72a49cdc969eed0d2a46c6ec37390a351e360015
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
commit72a49cdc969eed0d2a46c6ec37390a351e360015
tree c013b335da77c61788732341a5cf79610fbe1c7c tree | zip | gz
parent 94b2e49d959d1d84daff14f9a7384495140b8387 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
opends/src/quicksetup/org/opends/quicksetup/Application.java 2 ●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/InstallProgressStep.java 17 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java 106 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/InstallerHelper.java 13 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java 123 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java 71 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties 14 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/ui/ProgressPanel.java 4 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/FileManager.java 78 ●●●●● diff | view | raw | blame | history