ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36302] - sshexec closes System.out
Date Thu, 08 Nov 2007 10:05:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36302>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36302





------- Additional Comments From ghertz@libero.it  2007-11-08 02:05 -------
This is the code in my build.xml (in the last target that it has to be 
executed):

<sshexec host="${remote.host}"
         username="${remote.user}"
         password="${remote.password}"
         command="cd ${remote.commonshare};rm -rf ${codeline.dir}-OLD;mkdir -p 
${codeline.dir};mv ${codeline.dir} ${codeline.dir}-OLD;"/>

<scp file="${tmp.dir}/${zip.file}" todir="${remote.user}:${remote.password}
@${remote.host}:${remote.commonshare}"/>

<sshexec host="${remote.host}"
         username="${remote.user}"
         password="${remote.password}"
         command="cd ${remote.commonshare};unzip ${zip.file};rm -f 
${zip.file}"/>


The result is the same as reported by Prapti Sen (comment #6): the first 
sshexec is executed successfully, the same thing with the scp command, but the 
result of the second sshexec is like:


The second sshexec command results in 
==============================================================================
[sshexec] Connecting to 10.10.0.220:22

BUILD SUCCESSFUL
Total time: 57 seconds
==============================================================================


It connects to the remote machine, but it doesn't make anything.
However, the build doesn't fail.

Now I've tested, and it seems working fine, an external library, doing the 
same things.
If you want, consult this link:

http://www.sshtools.com/showMaverickAntTask.do






-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message