The task is used to identify a group of resources, such as files belonging to a language, and invoke their compile process. It is included in the generated.xml build script for an Enterprise Extensions Dependency Build.
The task supports Team Build Attributes, Build Extensions Debugging Attributes, Build Extensions General Attributes, as well as, its own task specific attributes. Click on a link for more information on the common attributes.
The following table describes the task specific attributes for the task:
| Task Specific Attributes | ||
| Attribute | Description | Required |
| buildResultUUID |
The UUID of the build result. The value of this attribute is typically ${buildResultUUID} because the property is built-in when using the Jazz Build Engine.
|
The macro supports Build Extensions Debugging Attributes, as well as, its own macro specific attributes. Click on a link for more information on the common attributes. |
A buildable resource collection element is specified within the element. The buildableSet element processes the resources collected by the resource collection element. One buildableSet and at least one resource collection element must be specified within an Ant restrict element for the task:
<restrict>
<antz:buildableset refid="buildableFileSet"/>
<antz:langdefselector name="SCRIPT"/>
</restrict>
The following table describes the valid buildableSet element attributes and their options:
| Buildable Resource Collection Element Attributes | ||
| Attribute | Description | Required |
| refid | Specifies the reference ID for the buildable set. | The macro supports Build Extensions Debugging Attributes, as well as, its own macro specific attributes. Click on a link for more information on the common attributes. |
One or more resource collection elements must be specified within the element. A resource collection element selects buildable resources based on a criteria. There are four defined resource collection elements defined for the Dependency Build process:
| componentSelector | The component selector is a resource selector for selecting buildable resources based on the containing SCM component for a resource. |
| langCodeSelector | The language code selector is a resource selector for selecting buildable resources based on the language code for the EE language definition associated with the resource. |
| langDefSelector | The language definition selector is a resource selector for selecting buildable resources based on the name of the EE language definition associated with the resource. |
| projectSelector | The project selector is a resource selector for selecting buildable resources based on the containing EWM project for a resource. |
The following table describes the valid resource collection element attributes and their options:
| Resource Collection Element Attributes | ||||||||||||
| Attribute | Description | Required | ||||||||||
| name |
|
The macro supports Build Extensions Debugging Attributes, as well as, its own macro specific attributes. Click on a link for more information on the common attributes. | ||||||||||
Compile a language:
<antz:compile
buildResultUUID="${buildResultUUID}"
failOnError="false"
passwordFile="${passwordFile}"
repositoryAddress="${repositoryAddress}"
userId="${userId}">
<restrict>
<antz:buildableset refid="buildableFileSet"/>
<antz:langdefselector name="SCRIPT"/>
</restrict>
</antz:compile>