BuildableResourceCollection examples

Review an example of the BuildableResourceCollection data type.

Create a resource collection based on the content of the file whose path is stored in the property ${buildablefile} and assign the resource collection the reference ID mySet.
<antz:buildableset id="mySet" buildableList="${buildablefile}"/> 
Create a resource collection that includes only the files that:
  • Exist on the MVS™ file system.
  • Were defined within the User Management project.
  • Are members defined in the MVS data set HLQ.COBOL.SET1.
<restrict id="mySet">  
  <antz:buildableset buildableList="${buildablefile}"/>
  <rsel:exists/>
  <antz:projectselector name="User Management"/>
  <rsel:name name="HLQ.COBOL.SET1(*)"/>
</restrict>