BuildForge Help

command

An adaptor XML file can contain several <command> elements; each defines a named command that can be referenced by <run> elements within <interface> elements. The <command> elements are specified outside the <interface> elements so that multiple interfaces within an XML file can reuse the same commands.

Commands can call other commands by embedding a <run> command in the match element in the <resultsblock> elements.

The <command> element wraps a structure of <execute> and <resultsblock> elements as shown below:
<command name="p4_changes">
   <execute>
       command line
   </execute>
   <resultsblock>
      Has its own structure.
   </resultsblock>
</command>

Alternatively, the <execute> element can be replaced in the block with an <integrate> element.

Use the mode attribute to identified the mode for the command element. The mode attribute takes the following values: