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

AntBuilder

A simple Builder to interface with Ant

Overview

Open in Workbench AntBuilder: A simple Builder to interface with Ant

Design

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

Constraints

Allowed Child Dependencies

  • BuilderAntHome 1
  • BuilderBuildFile1
  • BuilderBuildTarget1
  • BuilderImportMax1
  • BuilderImportMin1
  • BuilderJavaHome 1
  • BuilderPackageExtension1
  • BuilderPackageFilebase1
  • BuilderPackageInstallroot1
  • BuilderPackageType1
  • BuilderPackageVersion1
  • BuilderPath 1
  • BuilderScmBinding1
  • BuilderScmConnection1
  • BuilderScmLabel1
  • BuilderScmModule1

1: These types have a Singleton constraint. Only one instance may be added as a resource.

Allowed Parent Dependencies

  • Node
  • Updater

Attributes

Exported Attributes

Name Property
basedir deployment-basedir
targetdir deployment-install-root

Defaults for Imported Attributes

Name Default
buildAntHome ${env.ANT_HOME}
buildFile headlines/build.xml
buildPath /bin:/usr/bin
buildTarget all
importMax 1
importMin 1
javaHome ${env.JAVA_HOME}
packageExtension war
packageFilebase .*?
packageInstallroot ${env.CTIER_ROOT}/demo/headlines/tomcat/webapps
packageType war
scmBinding cvs
scmConnection ${env.CTIER_ROOT}/demo/headlines/cvs
scmLabel
scmModule headlines

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 <>] [-javahome <>] [-path <>] [-target <>] [-targetdir <>]

Options

Option Description
anthome Ant installation to use for build
basedir directory where build resources reside
buildfile build file to execute
buildstamp build identifier
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

Related Types

The following types are defined for use with AntBuilder.

BuilderJavaHome

Overview

Open in Workbench BuilderJavaHome: Java instance that ant should use

Design

Super Type
BuilderSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
javaHome settingValue

BuilderAntHome

Overview

Open in Workbench BuilderAntHome: Ant instance that should be used

Design

Super Type
BuilderSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
buildAntHome settingValue

BuilderPath

Overview

Open in Workbench BuilderPath: Path that should be used

Design

Super Type
BuilderSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
buildPath settingValue