Post-deployment options allow you to specify actions for CIM to take after deploying the assembled EAR file. CIM displays these options to the user in the Post Deployment Menu.
The post-deployment-option
element has two child elements:
requires-app-server
—Restricts the application servers for which the option is available.requires-add-on
—The user must include all specified add-ons during product selection in order to view and use the option.
For example:
<post-deployment-option id="${ServerInstanceName}-${AppServerSelection.appServerType}_store front_static"> <title>Copy Storefront Static HTML/Image Files</title> <requires-app-server>JBoss</requires-app-server> <requires-addon-id id="storefront_demo"/> <requires-addon-id id="previewOnManagement"/> <step id="CopyStoreFrontStaticPostDeploymentOptionStep" type="template" class="atg.cim.storeconfig.deploy.CopyStaticStorefrontTemplate"> <property name="serverInstanceName"> <value>${ServerInstanceName}</value> </property> </step> </post-deployment-option>