Hello,
i am using jsch 0.1.3.7, and ant 1.7.0 (i also tested with the latest ant
snapshot ant_20080407043151)
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.

Thanks,
Alex
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to