fte: ignore结局 Ant 任务

忽略 fte:filecopyfte:filemovefte:call 命令的结果。 当您指定 fte:filecopyfte:filemovefte:call 任务的结果为 defer时, Ant 任务将分配资源以跟踪此结果。 如果您对结果不再感兴趣,可以使用 fte:ignoreoutcome 任务来清除这些资源。

属性

id
必需。 标识不再感兴趣的结果。 通常,您可以使用 "fte:filecopy Ant 任务、"fte:filemove Ant 任务或 "fte:call Ant task任务的 "idproperty属性来指定该标识符。

示例

本例演示了如何使用 fte:ignoreoutcome 任务释放分配给跟踪先前fte:filecopy Ant 任务结果的资源。
<!-- 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}"/>