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 41090] New: - jsch-0.1.30 causes SCP task to hang
Date Thu, 30 Nov 2006 19:51:22 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=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: mike@mikedalrymple.com


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

<target name="deploy" depends="makeDist">
 <scp todir="${remote.user}:${remote.password}@${remote.server}:${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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message