The task is used by Ant-based translators to set the return code for the translator without needing to know the internals of how the return code works. This task is included in Ant snippet and Ant script translators, by the user, to set the return code for the translator.

Attributes

The task supports Build Extensions Debugging Attributes and Build Extensions General Attributes, as well as, its own task specific attributes. Click on a link for more information on the common attributes.

The following table describes the task specific attributes for the task:

Task Specific Attributes
Attribute Description Required
rc The return code from the translator. Yes

Notes

Examples

Set the return code from a translator:

<antz:setrc rc="0"/>