maven-wagon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Casey (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (WAGONSSH-41) CLONED FOR CODE REVISION -SSH transport hangs on large transfers
Date Mon, 27 Feb 2006 20:54:36 GMT
CLONED FOR CODE REVISION -SSH transport hangs on large transfers
----------------------------------------------------------------

         Key: WAGONSSH-41
         URL: http://jira.codehaus.org/browse/WAGONSSH-41
     Project: wagon-ssh
        Type: Bug

    Versions: 1.0-alpha-6    
    Reporter: John Casey
 Assigned to: John Casey 
     Fix For: 1.0-alpha-7


(1.0-alpha-6 needs to be released and a7 added as a new version)

            executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f "
+ zipFile.getName() );

This code hangs when the zip is large.  The problem is that the process's outputstream is
not read so eventually it fills its buffer and the process hangs.  My fix?  Add "-q" to unzip's
arguments so that it does not spew tons of output.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-dev-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-dev-help@maven.apache.org


Mime
View raw message