Compile examples

Review some examples of the Compile data task.
This example code iterates over all buildable resources whose name matches *LINK(*), and executes the Ant with Enterprise Extensions macro that was generated for the language definition associated with the resource.
<antz:compile> 
    <restrict>
        <antz:buildableset buildableList="${buildfile}"/>
        <rsel:name name="*LINK(*)"/>
    </restrict>
</antz:compile>  
This example code processes a buildable resource collection that contains buildable resource with in-stream data.
<antz:compile> 
    <antz:buildablelist>
        <antz:buildable langDefName="LINKEDIT" memberName="HELLO">
 INCLUDE SYSLIB(HELLO)
 NAME HELLO(R)
        </antz:buildable>
    <antz:buildablelist>
</antz:compile>  

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki