BuildForge Help

Example: Removing Change Details from a BOM Report

Most adaptor templates log change details to the BOM report. (The diff command is used to log change details.)

The following steps reference elements in the ClearCaseByDate template, but they can be used to remove change details for any adaptor template.

To remove change details in the BOM report, do the following:

  1. Open the adaptor template in an XML editor.
  2. Find the <run> element that calls the diff command. Remove the following line:
    <run command="cc_diff" params="$VIEW $1 $2" server="$CCSERVER" dir="/" timeout="360"/>
  3. Find the <command> element for the diff command. Remove the following lines:
    <!-- The cc_diff command does a generic clearcase diff, logging the full output
    of the diff in the BuildForge BOM -->
    <execute>
    pushd \\view\$1 && cleartool diff -pred -diff_format "$2@@$3"
    </execute>
    <resultsblock>
    <match pattern=".+">
    <bom category="Source" section="diff">
    <field name="diff" text="$_"/>
    </bom>
    </match>
    <resultsblock/>
    </command>
  4. Find the <bomformat> section, then find the <section> element for the diff command output. Remove the following lines:
    <section name="diff">
    <field name="diff" title="Change Details"/>
    </section>
  5. Save the adaptor template.