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
- AtgAntHome1
- AtgDynamoHome1
- AtgDynamoRoot1
- AtgJavaHome1
- BuilderBuildFile1
- BuilderBuildstamp1
- BuilderBuildTarget1
- BuilderExportDestination1
- BuilderImportMax1
- BuilderImportMin1
- BuilderPackageExtension1
- BuilderPackageFilebase1
- BuilderPackageInstallRank1
- BuilderPackageInstallroot1
- BuilderPackagePurgeRegex1
- BuilderPackageRequireBuildstamp1
- BuilderPackageSeparator1
- BuilderPackageType1
- BuilderPackageVersion1
- BuilderScmBinding1
- BuilderScmConnection1
- BuilderScmLabel1
- BuilderScmModule1
- BuilderStageExtension1
- BuilderStageFilebase1
- BuilderVersionBuild1
- BuilderVersionMajor1
- BuilderVersionMinor1
- BuilderVersionRelease1
- BuilderVersionTag1
1: These types have a Singleton constraint. Only one instance may be added as a resource.
Allowed Parent Dependencies
- AtgUpdater
- CruiseControl
- Node
Attributes
Exported Attributes
Name | Property |
---|---|
basedir | deployment-basedir |
targetdir | deployment-install-root |
Defaults for Imported Attributes
Name | Default |
---|---|
buildFile | build.xml |
buildTarget | all |
importMax | 200 |
importMin | 1 |
packageExtension | jar |
packageFilebase | .*? |
packageInstallRank | 100 |
packageInstallroot | |
packageSeparator | - |
packageType | AtgConfigJar |
packageVersion | ${opts.buildstamp} |
requireBuildstamp | false |
scmBinding | svn |
scmConnection | |
scmLabel | |
scmModule |
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 [-anthome <>] [-basedir <>] [-buildfile <>] [-buildstamp <>] [-buildtarget <>] [-dynamohome <>] [-dynamoroot <>] [-javahome <>] [-targetdir <>]
Execution | bash |
Arguments | export JAVA_HOME=${opts.javahome} DYNAMO_HOME=${opts.dynamohome} DYNAMO_ROOT=${opts.dynamoroot} ; cd ${opts.basedir}; ${opts.anthome}/bin/ant -Dbuildstamp=${opts.buildstamp} -f ${opts.buildfile} ${opts.buildtarget} |
Options
Option | Description |
---|---|
anthome | ANT_HOME setting |
basedir | 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 |
javahome | JAVA_HOME setting |
targetdir | directory build artifacts will be written |