WebSphere Enterprise Service Bus, Version 6.2.0 Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows


Build definition wizard: Installation and uninstallation scripts panel

The build definition wizard provides a way to include configuration scripts that run after successfully installing the customized installation package (CIP) or before uninstalling the CIP, as part of a complete uninstallation. If you are updating an existing installation by installing a CIP that includes maintenance, these scripts do not run.

You can include scripts as part of your CIP. These scripts can be run as part of an installation or an uninstallation. The supported script types are:

Install tab

Identify scripts to run after successful installation of the CIP on the install tab.

Uninstall tab

Identify scripts to run before uninstalling the CIP during a full uninstallation using the uninstall tab.

File name

The name of the script appears in the File Name field, after you add your script. You can modify this name using the Modify button.

Directory path

The directory where the script file resides is reported in the Directory Path field, after you add your script. You can modify the path using the Modify button.

Failure action

The action to be taken in event of a script error is reported in the Failure Action field. The value is initially set depending on whether you select the Stop the operation if an error occurs while running this script check box on the Add script panel. If the check box is selected the value "Fatal error" is reported in the Failure Action field, otherwise the value "Continue" is reported.

The value of the Failure Action field can be modified by pressing the Modify button, and by selecting or deselecting the Stop the operation if an error occurs while running this script check box.

Add Scripts

Press the Add scripts button to search for and select scripts to include in the CIP. Scripts can be any of the following supported script types:
  • ANT scripts (*.ant)
  • For Windows operating system Windows® batch files (.bat)
  • For Linux operating systemFor UNIX operating system Shell scripts (.sh)
  • JACL scripts
  • Jython scripts
  • JAR files
The .jar files should have the main class defined in the META-INF/MANIFEST.MF file inside each .jar file. Scripts are in the cip_uid_root/config/install directory when the CIP is installed. These scripts run as configuration actions after all of the configuration actions run that are in the normal installation procedure.

concept Concept topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/doc/cins_if_builddef_ins_scripts.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).