以下ant脚本用于ant deploy.xml以连接远程Windows服务器和 在当前调用unix环境的write标签中调用import.bat并更改了
打电话给蝙蝠而不是sh。
它没有在Windows服务器中调用import cmd。
请帮忙解决此问题。
<telnet userid = "${remote_username}" password = "${remote_password}" server = "${remote_host}">
<read>></read>
<write>cd ${remote_ws_path}xx/testSystem</write>
<read>></read>
<!-- <write>./import.sh -u ${remote_ws_user} -p ${remote_ws_password} -f ${remote_temp}${rddp_file} | tee ${remote_ws_path}ws/logs/impor_${cu_drop}.log</write> -->
<write>import.bat -u ${remote_ws_user} -p ${remote_ws_password} -f ${remote_temp}${rddp_file} | tee ${remote_path}ws/logs/import_${cu_drop}.log</write>
<read>></read>
</telnet>
由于