fte: ignore结局 Ant 任务
忽略 fte:filecopy、fte:filemove 或 fte:call 命令的结果。 当您指定 fte:filecopy, fte:filemove或 fte:call 任务的结果为 defer时, Ant 任务将分配资源以跟踪此结果。 如果您对结果不再感兴趣,可以使用 fte:ignoreoutcome 任务来清除这些资源。
属性
- id
- 必需。 标识不再感兴趣的结果。 通常,您使用使用 fte: filecopy Ant 任务, fte: filemove Ant 任务或 fte: call Ant 任务 任务的
idproperty属性设置的属性来指定此标识。
示例
此示例显示如何使用 fte: ignore结局任务来释放已分配的资源,以跟踪先前 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}"/>