AtgBuilder
General purpose ATG application builder
Overview
Design
- Super Type
- AntBuilder
Role | Concrete. (Objects can be created.) |
Instance Names | Unique |
Notification | false |
Template Directory | |
Data View | Children, proximity: 1 |
Logger Name | AtgBuilder |
Constraints
Allowed Child Dependencies
- BuilderImportPackagePattern 1
- BuilderSetting
1: These types have a Singleton constraint. Only one instance may be added as a resource.
Allowed Parent Dependencies
- AtgCruiseControl
- AtgUpdater
- Node
Attributes
Exported Attributes
Name | Property |
---|---|
basedir | deployment-basedir |
targetdir | deployment-install-root |
Defaults for Imported Attributes
Name | Default |
---|---|
importPackagePattern | ^([a-z,A-Z].*)-([0-9]+\.[0-9]+\.[0-9]+).(.*)$ |
packageSeparator | - |
scmUpdate | false |
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.
runBuildScript
runs the build script
- Usage
- runBuildScript [-antArgs <>] [-anthome <>] [-antOpts <>] [-basedir <>] [-buildfile <>] [-buildstamp <>] [-dynamohome <>] [-dynamoroot <>] [-javahome <>] [-path <>] [-target <>] [-targetdir <>]
Options
Option | Description |
---|---|
antArgs | ANT_ARGS setting |
anthome | Ant installation to use for build |
antOpts | ANT_OPTS setting |
basedir | directory where build resources reside |
buildfile | build file to execute |
buildstamp | build identifier |
dynamohome | DYNAMO_HOME setting |
dynamoroot | DYNAMO_ROOT setting |
javahome | Java installation to use for build |
path | System path to use for build |
target | build target to evaluate |
targetdir | directory build artifacts will be written |
Import
Imports packages from staging/incoming location
- Usage
- Import -buildstamp <> [-import_pattern <>] [-max <1>] [-min <1>]
Options
Option | Description |
---|---|
buildstamp | buildstamp of package(s) to import |
import_pattern | pattern matching scheme for importing packages |
max | maximum number of packages to import per matched package base |
min | minimum number of packages to import per matched package base |
Related Types
The following types are defined for use with AtgBuilder.
BuilderScmUpdate
Overview
BuilderScmUpdate:
execute scm update instead of checkout if module appears to be checked out already. If false and module appeas to be checked out then fail
Design
- Super Type
- BuilderSetting
Role | Concrete. (Objects can be created.) |
Instance Names | Unique |
Attributes
Exported Attributes
Name | Property |
---|---|
scmUpdate | settingValue |
BuilderImportPackagePattern
Overview
BuilderImportPackagePattern:
ATG Dynamo Live Config Directory Creation List setting
Design
- Super Type
- BuilderSetting
Role | Concrete. (Objects can be created.) |
Instance Names | Unique |
Attributes
Exported Attributes
Name | Property |
---|---|
importPackagePattern | settingValue |