i am using jsch 0.1.3.7, and ant 1.7.0 (i also tested with the latest ant
i do not know where to get,if any available, jsch nightly build.
the problem is that jsch hangs after doing a *<scp todir...>*. it copies the
files, but it does not close the scp connection.
i have seen this problem before on the list (for jsch 0.1.3.6) and it seems
that using *sftp="true"* apparently solves the problem.
now for the funny part: without *sftp="true" *, the ant script works for a 2
level dir : that is target/dist. anything with a 3 level dir just hangs.
again: - target/dist/some_files.jar - works ok,no hang
- target/dist/swing-client/swing-client/some_files.jar - hangs
after copy. every time (here if i set *sftp="true"* it works ok)
it really doesn't make any sense to me.
hope this helps in solving the bug.