Ant with enterprise extensions tasks and data types

Ant with enterprise extensions provides a number of custom data types and tasks that allow the build script author to define and select a set of buildable files from within a repository workspace. Additional custom tasks allow execution of the translator steps defined in a language definition through the invocation of generated Ant macro definitions. For general information regarding getting started with Apache Ant, please see http://ant.apache.org. Ant with enterprise extensions custom data types that you can include in a build script (build.xml) are:
Table 1. Ant with enterprise extensions custom tasks and data types
Class name Tag Description
BuildableResourceCollection <antz:buildablesett> An Ant ResourceCollection that represents a set of buildable resources.
BuildableResourceList <antz:buildablelist> An Ant ResourceCollection that can contain multiple buildable resources.
BuildableResource <antz:buildable> An buildable resource.
ComponentSelector <antz:componentselector> A custom resource selector that allows the resources to be included in a BuildableResourceCollection based on the name of the component that defines the resource.
ProjectSelector <antz:projectselector> A custom resource selector that allows the resources to be included in a BuildableResourceCollection based on the name of the project that defines the resource.
LanguageDefinitionSelector <antz:langdefselector> A custom resource selector that allows the resources to be included in a BuildableResourceCollection based on the name of the Language Definition associated with the resource.
Ant with enterprise extensions provides the following custom task for use in z/OS-based build scripts:
Table 2. Custom task for z/OS-based build
Class name Tag Description
Compile <antz:compile> An Ant Task that compiles a BuildableResourceCollection that is provided as its child element.
The following task and data types are also provided by Ant with enterprise extensions. However, they are used in the macro definitions, which are generated from language definitions, and are not intended for external use:
Table 3. Ant with enterprise extensions tasks and data types for macro definitions
Class name Tag Description
Alloc <antz:alloc> An Ant data type that represents a data set allocation.
Concat <antz:concat> An Ant data type that represents a data set concatenation.
Executable <antz:mvsexec> An Ant task that invokes an MVS™ module specified in a Translator contained in a Language Definition.
Note: All custom Ant with enterprise extensions data types and tasks are defined in the antlib:com.ibm.teamz.build.ant namespace. You must declare this namespace in any build script that uses Antz tasks.

Feedback