大部分的配接器範本都會將變更詳細資料記錄到 BOM 報告中。(diff 指令即用來記錄變更詳細資料。)
下列步驟會參照 ClearCaseByDate 範本中的元素,但它們可用來移除任何配接器範本的變更詳細資料。
如果要移除 BOM 報告中的變更詳細資料,請執行下列動作:
<run command="cc_diff" params="$VIEW $1 $2" server="$CCSERVER" dir="/" timeout="360"/>
<!-- The cc_diff command does a generic clearcase diff, logging the full output
of the diff in the BuildForge BOM -->
<command name="cc_diff">
<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>
<section name="diff">
<field name="diff" title="Change Details"/>
</section>