ControlTier > controltier-elements
 

WarUpdater

Updater for J2EE web archive based applications

Overview

Open in Workbench WarUpdater: Updater for J2EE web archive based applications

Design

Super Type
Updater
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 1
Logger Name Deployment

Constraints

Allowed Child Dependencies

  • Builder
  • DeploymentSetting
  • Site

Allowed Parent Dependencies

  • Node

Allowed Property Values

Property Allowed Values Default Enforced
manages-deployments
  • false
  • true
true

Attributes

Exported Attributes

Name Property
basedir deployment-basedir
install-root deployment-install-root

Defaults for Imported Attributes

Name Default
threadCount 1

Commands

Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.

Change-Dependencies

Queries model and then switches dependencies

Usage
Change-Dependencies [-allowmultiple <false>] [-buildstamp <>] [-defaultPackageName <^$>] [-deploymenttype <Deployment>] [-failIfNotReplaced <true>] [-packagetype <war>] [-version <>]

Workflow

  1. runChangeDependencies

Options

Option Description
allowmultiple if true, allow multiple matches via regex
buildstamp build identifier
defaultPackageName default package name regex
deploymenttype type of deployment
failIfNotReplaced if true, fails if any packages don't have a matching replacement
packagetype package type
version package version