AtgJBossModuleBuilder
A builder sub-type customized to facilitate building and packaging ATG modules for the JBoss application server
Overview
AtgJBossModuleBuilder:
A builder sub-type customized to facilitate building and packaging ATG modules for the JBoss application server
Design
- Super Type
- AtgModuleBuilder
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
| Notification | false |
| Template Directory | ${modules.dir}/AtgModuleBuilder/templates |
| Data View | Children, proximity: 1 |
| Logger Name | AtgModuleBuilder |
Constraints
Allowed Child Dependencies
- AntBuilderAntArgs1
- AntBuilderAntOpts1
- AntZip1
- AtgAntHome1
- AtgDynamoHome1
- AtgDynamoRoot1
- AtgJavaHome1
- AtgJBossHome 1
- AtgListenPort 1
- AtgPatchJar 1
- AtgPlatformInstaller 1
- AtgRmiPort1
- BuilderAntHome1
- BuilderBuildFile1
- BuilderBuildstamp1
- BuilderBuildTarget1
- BuilderExportDestination1
- BuilderImportMax1
- BuilderImportMin1
- BuilderJavaHome1
- BuilderNotificationList1
- BuilderPackageExtension1
- BuilderPackageFilebase1
- BuilderPackageInstallroot1
- BuilderPackagePurgeRegex1
- BuilderPackageRequireBuildstamp1
- BuilderPackageSeparator1
- BuilderPackageType1
- BuilderPackageVersion1
- BuilderPath1
- BuilderScmBinding1
- BuilderScmConnection1
- BuilderScmLabel1
- BuilderScmModule1
- BuilderStageExtension1
- BuilderStageFilebase1
- BuilderVersionBuild1
- BuilderVersionMajor1
- BuilderVersionMinor1
- BuilderVersionRelease1
- BuilderVersionTag1
- CruiseControlInterval1
- CruiseControlMailHost1
- CruiseControlReturnAddress1
- JavaBin1
- JBossZip1
1: These types have a Singleton constraint. Only one instance may be added as a resource.
Allowed Parent Dependencies
- CruiseControl
- Node
- Updater
Attributes
Exported Attributes
| Name | Property |
|---|---|
| basedir | deployment-basedir |
| targetdir | deployment-install-root |
Defaults for Imported Attributes
| Name | Default |
|---|---|
| antArgs | |
| antOpts | |
| atgListenPort | 8080 |
| atgRmiPort | 8860 |
| buildAntHome | ${env.ANT_HOME} |
| buildFile | build.xml |
| buildPath | /bin:/usr/bin |
| buildTarget | all |
| cruiseControlInterval | 300 |
| importMax | 100 |
| importMin | 1 |
| javaHome | ${env.JAVA_HOME} |
| packageExtension | ear |
| packageFilebase | .*? |
| packageInstallroot | |
| packagePurgeRegex | ^(?!^${entity.attribute.buildstamp}$).*$ |
| packageSeparator | - |
| packageType | AtgEar |
| 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} ANT_HOME=${opts.anthome} ATG_HOME=${opts.dynamohome} DYNAMO_HOME=${opts.dynamohome} DYNAMO_ROOT=${opts.dynamoroot} PATH=${opts.javahome}/bin:${opts.dynamohome}/bin:/bin:/usr/bin:/usr/local/bin; 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 |
Related Types
The following types are defined for use with AtgJBossModuleBuilder.
AtgJBossHome
Overview
AtgJBossHome:
Location of the JBoss installation
Design
- Super Type
- AtgBuilderSetting
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
Attributes
Exported Attributes
| Name | Property |
|---|---|
| atgJBossHome | settingValue |
AtgListenPort
Overview
AtgListenPort:
JBoss listen port
Design
- Super Type
- AtgBuilderSetting
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
Attributes
Exported Attributes
| Name | Property |
|---|---|
| atgListenPort | settingValue |



