VestaUseCases

Vesta Use Cases

Use Case #1 Installing Sun Studio in an interactive mode
Version 0.5
Preconditions Installation bundle integrity; JRE 5.0 or higher.
Step Action
1 Check installation prerequisites. Operation system type and version should be appropriate as well as some patches or packages should be installed. User should have administrator rights to do complete installation. In case of bundle with external packages – check access to external packages source.
2 Check environment. Gather information about other consistent or inconsistent Sun Studio installations.
3 Show User License Agreement screen. User should confirm it (before user's confirmation installation process can't proceed).
4 Show “Components to install” screen. Let user select exact components he want's to install.
5 Show additional options screen (or screens) where user can choose component installation directory and other component-specific options (i.e., should installer create symlinks in /bin or Solaris zone for installation selection). The number and content of these screens depends on components user have selected.
6 Show information screen, summarizing all user selections.
7 Start installation process. During process show user some information screens about installation progress or currently installing components features.
8 After successful end of installation, show Sun Studio registration screen and ask user to do product registration.
Step Variations Action
1a If destination system does not meet system requirements user will be warned and installation will be aborted.
2a If some consistent installed older Sun Studio versions were found ask user if he want's to upgrade them or install new copy.
2b If some inconsistent installed Sun Studio versions were found ask user if he want's to remove them.
4a If the same consistent version of Sun Studio was found during environment analysis installer will work in modification mode (see use case #4).
5a If installation directory selected by user is not empty, warn him about it and and ask to select another one.
5b If installed version of NetBeans is suitable for Sun Studio integration, ask user if he want's to use it or install an new one.
5c If there is not enough space on destination disk, warn user about it and ask to select different installation directory.
Comments User can interrupt installation process at any moment. After confirmation of interruption all already installed components should be correctly uninstalled. Additional information about installation user can be found in a log file.


Use Case #2 Installing Sun Studio in silent mode
Version 0.5
Preconditions Installation bundle integrity; JRE 5.0 or higher.
Steps Action
1 Check installation prerequisites. Operation system type and version should be appropriate as well as some patches or packages should be installed. User should have administrator rights to do complete installation. In case of bundle with external packages – check access to external packages source.
2 Check environment. Gather information about other consistent or inconsistent Sun Studio installations.
3 Load state file (it can be passed as installation bundle command-line parameter). Set all necessary options and products for installation according to state file.
4 Perform installation process.
5 Create special script for registration of installed products. It should be run manually, because needs some user interaction.
Step Variations Action
1a If destination system does not meet system requirements this will be logged out and installation will be aborted.
2a If some incompatible Sun Studio versions have been found during system analysis installation will be aborted.
3a If state file is not provided or it's inconsistent the default “everything” installation will be used.
3b If there is not enough space on destination disk, write warning message to log and abort installation.
Comments State file can be created with the help of the installation bundle. All information about installation can be found in a log-file.


Use Case #3 Installing Sun Studio toolchain packages only
Version 0.5
Description Installation bundle contains only Sun Studio toolchain packages (without NetBeans).
Preconditions Installation bundle integrity.
Step Action
1 Check installation prerequisites. Operation system type and version should be appropriate as well as some patches or packages should be installed. User should have administrator rights to do complete installation.
2 Check environment. Gather information about already installed toolchain components.
3 Ask user to select packages for installation. By default all packages will be installed.
4 Perform packages installation.
5 Perform installed components interactive registration.
Steps Variations Action
1a If destination system does not meet system requirements this will be print out on a screen and installation will be aborted.
2a If some incompatible old packages have been found during system analysis then they should be uninstalled by user manually first.
3a If silent mode is used then list of components to install are taken from script command line parameters.
3b If there is not enough space on destination disk, warn user about it or, in case of silent mode, write warning to log; abort installation.
5a If silent mode is used then special registration script is created for further installed components registration.


Use Case #4 Modification of existing Sun Studio installation.
Version 0.5
Preconditions Appropriate Sun Studio installed by Vesta
Step Action
1 Checking installed components consistency.
2 Ask user to select components for installation and uninstallation.
3 Perform components installation and uninstallation.
Step Variations Action
1a If current installation is inconsistent user will be asked to uninstall software install it again; the modification process will be aborted
2a If there is not enough space on destination disk, warn user and ask to make another choice.


Use Case #5 Uninstalling Sun Studio
Version 0.5
Preconditions Appropriate Sun Studio installed by Vesta
Step Action
1 Show confirmation screen with information about uninstalling components.
2 Again ask for user's confirmation.
3 Perform uninstallation.
Step Variations Action
1a If installation is inconsistent warn user about that.
Comments It should be possible uninstall either consistent or inconsistent Sun Studio installation.
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo