ControlTier Inc. > Open.ControlTier > ModuleForge.ControlTier
 
Font size:      

AtgModuleUpdater

General purpose ATG application module updater

Overview

Open in Workbench AtgModuleUpdater: General purpose ATG application module updater

Design

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

Constraints

Allowed Child Dependencies

Allowed Parent Dependencies

Attributes

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.

Build

Build the project

Usage
Build -buildstamp <> [-command <Build>] [-resourcetype <[^\.]*ModuleBuilder>]

Workflow

  1. dispatchCmd

Success Handler

Email
Subject
File

Options

Option Description
buildstamp Unique build and deployment identifier
command Build command
resourcetype Builder type

BuildAndUpdate

runs the build and deployment processes

Usage
BuildAndUpdate -buildstamp <>

Workflow

  1. Build
  2. Change-Dependencies
  3. Update

Success Handler

Email
Subject
File

Options

Option Description
buildstamp build id

Change-Dependencies

Queries model and then switches dependencies

Usage
Change-Dependencies [-allowmultiple <true>] -buildstamp <> [-defaultPackageName <.*>] [-deploymenttype <Deployment>] [-failIfNotReplaced <true>] [-packagetype <AtgEar>]

Workflow

  1. runChangeDependencies

Success Handler

Email
Subject
File

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

Install

Installs the object, and its modules

Usage
Install [-basedir <${entity.instance.dir}>] [-buildstamp <>] [-depot <${context.depot}>] [-name <${context.name}>] [-nodir] [-nodispatch] [-nomodule] [-noproperties] [-subdirs <bin,conf,logs,var>] [-type <${context.type}>]

Options

Option Description
basedir base directory
buildstamp Unique build and deployment identifier (ignored)
depot project depot
name object name
nodir do not create directories
nodispatch do not dispatch Install action to child resources
nomodule do not update module
noproperties do not update properties
subdirs directory list
type object type

Update

update the site

Usage
Update -buildstamp <null> [-command <Update>] [-resourcetype <AtgSite>]

Workflow

  1. dispatchCmd

Success Handler

Email
Subject
File

Options

Option Description
buildstamp Unique identifer for the build and release
command Update command
resourcetype Type to update

dispatchCmd

dispatches command to child

Usage
dispatchCmd [-buildstamp <>] -command <> [-keepgoing] [-resourcename <.*>] [-resourceorder <[^.]*>] [-resourcetype <[^.]*>] [-sortorder <ascending>]

Options

Option Description
buildstamp Unique build and deployment identifier
command command to dispatch
keepgoing If true, all iterations of the called workflow will be executed, even if a task in one or more of them fails.
resourcename resource name pattern
resourceorder resource order name
resourcetype resource type name
sortorder order to sort resources

runChangeDependencies

queries model and then switches a set of dependencies

Usage
runChangeDependencies [-allowmultiple <false>] -buildstamp <> [-defaultPackageName <^$>] [-deploymenttype <Deployment>] [-failIfNotReplaced <false>] [-packagetype <AtgEar>] [-version <>]

Options

Option Description
allowmultiple if true, allow multiple matches when default regex is included
buildstamp build identifier
defaultPackageName default package name regex
deploymenttype type of deployments to modify
failIfNotReplaced if true, fails if any packages don't have a matching replacement
packagetype type of packages to change
version package version