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=41090>.
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=41090

           Summary: jsch-0.1.30 causes SCP task to hang
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


I have the following SCP task that copies files to a remote server:

<target name="deploy" depends="makeDist">
 <scp todir="${remote.user}:[EMAIL PROTECTED]:${remote.dir}"
trust="true" verbose="true">
 <fileset dir="${dist}" />
 </scp>
</target>

When executing this taret using the jsch-0.1.30.jar, the process fails after a
number of files get copied.  Leaving the fileset alone will result in having the
same number of files copied over prior to the hang.  Changing the fileset to a
new set of files (call it X) will result in a different number of files being
copied prior to the hang.  However, if repeated the failure will always occur
after the same number of files for fileset X.  It seems the failure condition is
reached after a certain number of bytes are transferred as opposed to a certain
number of files.

No error messages are displayed and the build does not exit, it just hangs.

I've confirmed that this does NOT occur with jsch-0.1.29 or jsch-0.1.28.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to