SCM Macros

This section covers the Enterprise Extensions SMP/E SCM Macros which extend the EWM Ant toolkit by offering a build features that interact with the SCM.

The SCM Macros are utilities used by all of the Enterprise Extensions SMP/E Ant Scripts to request SCM services. The repository for the SCM Macros is the $scmcmd.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/$scmcmd.xml">
        <classpath location="${jarPath}"/>
    </javaresource>
</import>

    

Note: