AtgConfigBuilder
General purpose ATG config builder
Overview
Design
- Super Type
- AtgBuilder
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
| Notification | false |
| Template Directory | |
| Data View | Children, proximity: 1 |
| Logger Name | AtgConfigBuilder |
Constraints
Allowed Child Dependencies
- AtgBuilderDynamoHome1
- AtgBuilderDynamoRoot1
- AtgBuilderJavaHome1
- BuilderBuildFile1
- BuilderBuildTarget1
- BuilderScmConnection1
- BuilderScmModule1
- BuilderStageExtension1
- BuilderStageFilebase1
1: These types have a Singleton constraint. Only one instance may be added as a resource.
Allowed Parent Dependencies
- AtgUpdater
- Node
Attributes
Exported Attributes
| Name | Property |
|---|---|
| builddir | deployment-basedir |
| targetdir | deployment-install-root |
Defaults for Imported Attributes
| Name | Default |
|---|---|
| scmbinding | cvs |
| scmlabel |
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 [-builddir <>] [-buildfile <>] [-buildstamp <>] [-buildtarget <>] [-dynamohome <>] [-dynamoroot <>] [-targetdir <>]
| Execution | bash |
| Arguments | export DYNAMO_HOME=${opts.dynamohome} DYNAMO_ROOT=${opts.dynamoroot} ; cd ${opts.builddir}; ant -f ./${opts.buildfile} ${opts.buildtarget} -Dbuildstamp=${opts.buildstamp} |
Options
| Option | Description |
|---|---|
| builddir | directory where build resources reside |
| buildfile | the build file to execute |
| buildstamp | the build identifier |
| buildtarget | the build target to evaluate |
| dynamohome | DYNAMO_HOME setting |
| dynamoroot | DYNAMO_ROOT setting |
| targetdir | directory build artifacts will be written |


