ControlTier > elements
 

ZipBuilder

Simple builder to create a Zip file package of the "basedir" (deployment-basedir) in the "targetdir" (deployment-install-root) using the object name as file name and timestamp versioning

Overview

ZipBuilder: Simple builder to create a Zip file package of the "basedir" (deployment-basedir) in the "targetdir" (deployment-install-root) using the object name as file name and timestamp versioning

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

  • BuilderBuildFile1
  • BuilderBuildstamp1
  • BuilderBuildTarget1
  • BuilderImportMax1
  • BuilderImportMin1
  • BuilderPackageBuildtimePattern1
  • BuilderPackageExtension1
  • BuilderPackageFilebase1
  • BuilderPackageInstallRank1
  • BuilderPackageInstallroot1
  • BuilderPackageRequireBuildstamp1
  • BuilderPackageSeparator1
  • BuilderPackageType1
  • BuilderPackageVendor1
  • BuilderPackageVersion1
  • BuilderPath1
  • BuilderScmBinding1
  • BuilderScmConnection1
  • BuilderScmLabel1
  • BuilderScmModule1
  • BuilderScmUser1
  • BuilderScmView1
  • BuilderVersionBuild1
  • BuilderVersionMajor1
  • BuilderVersionMinor1
  • BuilderVersionRelease1
  • BuilderVersionTag1

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

Allowed Parent Dependencies

Attributes

Exported Attributes

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

Defaults for Imported Attributes

Name Default
buildPath /bin:/usr/bin
importMax 1
importMin 1
packageExtension zip
packageFilebase ${entity.name}
packageInstallRank 10
packageInstallroot ${opts.basedir}
packageSeparator -
packageType zip
requireBuildstamp false

Commands

View the available commands in the User Reference.