Use the .defect command to add an adaptor for a defect-tracking
application to a project step. A defect adaptor is a Build Forge object;
it is based on the adaptor template for a defect-tracking application.
The adaptor code for the step is run when the project runs.
Syntax
.defect <adaptor_name> [entry_name]
The <adaptor_name> is required; it is the name assigned
to the adaptor in the Management Console. The <adaptor_name> case
should match the case used in the console.
If your adaptor template has multiple interface functions, specify
the one to run by using the entry_name option. The entry_name must
match the name attribute specified for an <interface> element in
your adaptor template. If the <interface> element specified in entry_name does
not exist or cannot be found, the default <interface> element is
run instead. In the following example, the entry name is DefectFunction.
If you are using an adaptor link, the adaptor is called automatically
and the first interface function in the adaptor template is run. To
run a different interface, in the adaptor template, set the default
attribute to true (default="true") on the interface that you do want
to run.
Examples
.defect MyClearCaseQuestAdaptor
.defect MyClearCaseQuestAdaptor DefectFunction
Notes
To create an adaptor or view a list of adaptors, select Projects > Adaptors.
The adaptor templates provided with the Build Forge product are
located in: