Build Macros

This section covers the Enterprise Extensions SMP/E Build Macros which extend the EWM Ant toolkit by offering various build features.

The Build Macros are utilities used by Enterprise Extensions SMP/E Ant Scripts to request build services. The repository for the Build Macros is the $bldmac.xml file, which is imported in the top-level section of an Ant script using the following code snippet:


<!-- Load build extensions -->
<xt:loadBuildExtensions/>
<xt:getJarLocation property="jarPath"/>

<!-- Load common resources -->
<import>
    <javaresource name="scripts/smpe/imports/$common.xml">
        <classpath location="${jarPath}"/>
    </javaresource>
</import>
<import>
    <javaresource name="scripts/smpe/imports/$bldmac.xml">
        <classpath location="${jarPath}"/>
    </javaresource>
</import>