# re: 强大的 ant scp 和 sshexec 回复 更多评论
2008-12-24 16:24 by G_G
message="输入(ssh/ 下文件名 \n\r 上载或覆盖 到服务器 218 ${ssh.path} ):">
message="请确定是否使用 ssh/${scp_coverage_shell_file} 覆盖服务器中 ${ssh.host}:${ssh.path}${scp_coverage_shell_file} (y,n)"
validargs="y,n" addproperty="do.coverage" defaultvalue="n" />
退出
password="${ssh.myPass}" trust="true"
command="
mkdir -p ${ssh.path}backup/${TODAY} ;
if [ -f ${ssh.path}${scp_coverage_shell_file} ] ;
then
cp ${ssh.path}${scp_coverage_shell_file} ${ssh.path}backup/${TODAY}/ ;
fi ;
">
todir="${ssh.myName}:${ssh.myPass}@${ssh.host}:${ssh.path}"
trust="true" verbose="true" />
password="${ssh.myPass}" trust="true"
command="chmod 777 ${ssh.path}${scp_coverage_shell_file}">
defaultvalue="*">
password="${ssh.myPass}" trust="true"
command="ls /data/meganotes/shell/${show_shell_file}">
message="输入 /data/meganotes/shell/ 下需要文件名(cp 到 ssh 下):">
file="${ssh.myName}:${ssh.myPass}@${ssh.host}:/data/meganotes/shell/${scp_shell_file}"
todir="ssh" trust="true" verbose="true" />
password="${ssh.myPass}" trust="true" command="${ssh.adminRunLog}">
password="${ssh.myPass}" trust="true"
command="${ssh.scheduleRunLog}">
password="${ssh.myPass}" trust="true" command="${ssh.64k}">
password="${ssh.myPass}" trust="true" command="${ssh.128k}">
password="${ssh.myPass}" trust="true"
command="${ssh.128kto64k.err}">
message="测试类输入(Video*Test):" defaultvalue="*Test">
value="${basedir}/sh/admin_test.bat ${admin_test_input} " />