ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob H - VSCM" <>
Subject RE: ssh exec task...
Date Tue, 11 Mar 2003 18:07:08 GMT
Stefan, Attached is the documentation. I wonder if there is anyway to wait
for the thread to finnish? Does this mean that ant will report "Build
Successfull" before the command has actually completed (Yuk)?

-Rob A

-----Original Message-----
From: Stefan Bodewig []
Sent: Tuesday, March 11, 2003 8:59 AM
Subject: Re: ssh exec task...

On Tue, 11 Mar 2003, Rob H. Anderson <>

> There is one problem with the sshexec task that someone should look
> into: I was not able to get the output from the remote command to
> show up in the log.

It works if my machine (the one running Ant) is under heavy load, but
doesn't otherwise. 8-(

The problem seems to be (from some cursory code review on jsch) that
jsch spawns a thread to execute the command - and the task may very
well be finished (and Ant exited) before the thread gets run.

> I will work on some documentation to go with it.



To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message