ControlTier > elements
 

AntZip

An Apache Ant Distribution Package

Overview

AntZip: An Apache Ant Distribution Package

This type allows for the installation of Ant. Typically this is attached to an AntBuilder or subtype as a dependency to be used in the build process. Refer to objects/sample.xml for example package definitions to use in ProjectBuilder.

Design

Super Type
PlatformZip
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory ${modules.dir}/AntZip/templates
Data View Children, proximity: 1
Logger Name AntZip

Constraints

Allowed Child Dependencies

  • Package

Allowed Parent Dependencies

  • Assembly

Allowed Property Values

Property Allowed Values Default Enforced
package-install-root
  • ${user.home}/apache-ant-${entity.attribute.ant_version}
  • ${user.home}/apache-ant-${entity.attribute.ant_version}
false
package-arch
  • noarch
  • noarch
false

Attributes

Exported Attributes

Name Property Description
ant_home package-install-root

attribute used as Ant's ANT_HOME environment variable

ant_version package-version

attribute mapped to the version of the apache ant package

Commands

View the available commands in the User Reference.