+

Search Tips | Advanced Search

fte:ignoreoutcome Ant task

Ignore the outcome of an fte:filecopy, fte:filemove, or fte:call command. When you specify an fte:filecopy, fte:filemove, or fte:call task to have an outcome of defer, the Ant task allocates resources to tracking this outcome. If you are no longer interested in the outcome, we can use the fte:ignoreoutcome task to free those resources.


Attributes


Example

This example shows how we can use the fte:ignoreoutcome task to free the resources allocated to tracking the outcome of the earlier fte:filecopy Ant task task.
<!-- issue a file copy request -->
<fte:filecopy cmdqm="qm1@localhost@1414@SYSTEM.DEF.SVRCONN" 
                  src=agent1@qm1 dst="agent1@qm1"
                  idproperty="copy.id"
                  outcome="defer"/>

<!-- do some other things -->

<!-- decide that the result of the copy is not interesting -->
<fte:ignoreoutcome id="${copy.id}"/>