<?xml version="1.0" encoding="UTF-8"?>
<project name="remote" default="login">
<target name="login">
<taskdef name="SSHExec" classname="org.apache.tools.ant.taskdefs.optional.ssh.SSHExec"/>
<sshexec host="10.2.9.110" username="cleanupJMS" password="removejms" command="c:\application\cleanupJMS\UT\cleanupJMSForUT.bat" trust="true" timeout="60000"/>
</target>
</project>
set TIBCOEMSADMIN_HOME=C:\application\tibco\ems\bin
cd %TIBCOEMSADMIN_HOME%
tibemsadmin -server "tcp://10.2.9.110:7222" -user admin -script cleanupJMS.scr
<project name="remote" default="login">
<target name="login">
<taskdef name="SSHExec" classname="org.apache.tools.ant.taskdefs.optional.ssh.SSHExec"/>
<sshexec host="10.2.9.110" username="cleanupJMS" password="removejms" command="c:\application\cleanupJMS\UT\cleanupJMSForUT.bat" trust="true" timeout="60000"/>
</target>
</project>
set TIBCOEMSADMIN_HOME=C:\application\tibco\ems\bin
cd %TIBCOEMSADMIN_HOME%
tibemsadmin -server "tcp://10.2.9.110:7222" -user admin -script cleanupJMS.scr