mqfte和ant脚本

mqfte和ant脚本,ant,websphere-mq-fte,Ant,Websphere Mq Fte,我们可以在“presrc”或“postsrc”调用中使用globmapper吗? 如果可以,如何使用?调用“presrc”或“postsrc”可以运行任何有效的Ant脚本,因此简短的回答是“是” 希望有人能给出一个示例代码,以提供更长的答案。:-) 调用“presrc”或“postsrc”可以运行任何有效的Ant脚本,因此简短的回答是“yes” 希望有人能给出一个示例代码,以提供更长的答案。:-) 供参考的样本: <fte:filemove src="${source.agent}@${s

我们可以在“presrc”或“postsrc”调用中使用globmapper吗? 如果可以,如何使用?

调用“presrc”或“postsrc”可以运行任何有效的Ant脚本,因此简短的回答是“是”

希望有人能给出一个示例代码,以提供更长的答案。:-)

调用“presrc”或“postsrc”可以运行任何有效的Ant脚本,因此简短的回答是“yes”

希望有人能给出一个示例代码,以提供更长的答案。:-)

供参考的样本:

<fte:filemove src="${source.agent}@${source.qmgr}" dst="${destination.agent}@${destination.qmgr}" rcproperty="copy.result">
<fte:presrc command="antfile.xml" type="antscript" retryCount="2" retryWait="30" successRC="0">
    <property name="source.filename" value="${trigger.filename}"/>
    <property name="source_path" value="${source.path}"/>
    <property name="source_agent" value="${source.agent}"/>
    <property name="source_qmgr" value="${source.qmgr}"/>
    <property name="source_archive_path" value="${archive.path}"/>
</fte:presrc>
<fte:filespec srcfilespec="${source.path}/${trigger.filename}" dstfile="${destination.path}/${trigger.filename}" overwrite="true"/>    
<fte:postdst command="antfile.xml" type="antscript" retryCount="2" retryWait="30" successRC="0">
    <property name="destination.filename" value="${trigger.filename}"/>
    <property name="destination_path" value="${destination.path}"/>
    <property name="destination_agent" value="${destination.agent}"/>
    <property name="destination_qmgr" value="${destination.qmgr}"/>
</fte:postdst> 

参考样本:

<fte:filemove src="${source.agent}@${source.qmgr}" dst="${destination.agent}@${destination.qmgr}" rcproperty="copy.result">
<fte:presrc command="antfile.xml" type="antscript" retryCount="2" retryWait="30" successRC="0">
    <property name="source.filename" value="${trigger.filename}"/>
    <property name="source_path" value="${source.path}"/>
    <property name="source_agent" value="${source.agent}"/>
    <property name="source_qmgr" value="${source.qmgr}"/>
    <property name="source_archive_path" value="${archive.path}"/>
</fte:presrc>
<fte:filespec srcfilespec="${source.path}/${trigger.filename}" dstfile="${destination.path}/${trigger.filename}" overwrite="true"/>    
<fte:postdst command="antfile.xml" type="antscript" retryCount="2" retryWait="30" successRC="0">
    <property name="destination.filename" value="${trigger.filename}"/>
    <property name="destination_path" value="${destination.path}"/>
    <property name="destination_agent" value="${destination.agent}"/>
    <property name="destination_qmgr" value="${destination.qmgr}"/>
</fte:postdst> 


我一直没有回答这个问题,希望有人能举个例子来回答。我有一台新的笔记本电脑,还没有重建我的FTE沙盒环境,所以我不能做什么。由于没有答复,我至少会确认这是可以做到的。我一直在推迟回答这个问题,希望有人能用一个例子来回答。我有一台新的笔记本电脑,还没有重建我的FTE沙盒环境,所以我不能做什么。由于没有答复,我至少会确认这是可以做到的。