我有一個ant buildfile中的任務sshexec。此任務顯示我希望執行的命令的輸出。我的問題是:如何不顯示輸出?sshexec ant任務。如何不顯示輸出
這裏是我的任務:
<sshexec verbose="false" failonerror="true"
trust="yes" host="${app.deploy.server}"
username="${deploy.user}"
command="find /home/software/public_html/${app.name} -name *.jar* -exec md5sum {} +"
password="${deploy.password}"
output="jarsAtServer.txt" outputproperty="trash" />
在此先感謝。
我的任務: –
2012-08-08 16:56:41
我修改了格式,以便您的任務在問題中可見。您可能想看看第一節[markdown文檔](http://stackoverflow.com/editing-help)... – larsks 2012-08-08 17:04:31
您是否嘗試過使用'-q'標誌在安靜模式下運行Ant? http://ant.apache.org/manual/running.html#options – 2012-08-08 18:45:33