RE: Important: JavaCVS and SSH

"Ojares Rami EINT" <[email protected]> Fri, 30 Jan 2004 10:02:00 +0200
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
Hi Arturo,

Somewhere in fall I submitted to Martin Entlicher an
implementation that does exactly what you are trying to do.

I am not sure whether that already exists in cvs because
I haven't checked. Anyway I have noticed also some problems
sometimes with the implementation.

At home with my Gentoo Linux as server hosting cvs server
everything seems to work all the time nicely. But at work
with some older Solaris (and some version of openssh + cvs)
things seem to hang. When I do an import for example it hangs
(the import has a lot of files and even more files that the cvs
must ignore prefixed with #). I do the import somehow else for
example setting up ssh tunnel and using pserver connection. And
it works. Then I use J2SSH again directly for update and it works.

So all in all the implementation is not well tested and tried with
different ssh servers and large projet sizes.

I used version 0.2.4 of J2SSH and now I think the newest one is 0.2.7

About the pserver connection initialization: That is related to pserver
protocol and has nothing to do with the ssh or cvs protocol.

So what would be needed here is thorough testing of this ssh business.

Feel like doing it?

- rami ojares

>Hi everybody.
>
>I'm using javacvs and I'm trying to use J2SSH
>http://3sp.com/download/download.php
>to upgrade the api and provide ssh connections...
>
>I've made a new class thath implements the netbeans Connection
>interface that holds and opens the ssh connection using the J2SSH api.
>
>I achieve create the connection and autenticate with the server..
>I create a Client instance  and I pass the ssh connection in 
>the constructor
>method...
>all goes well, however, when I execute a command (checkout for example)
>the applications waits and waits and waits annd it didn't do 
>any other thing...
>It doesn't stop.. it just it keeps waiting.
>
>After several debugging sessions, i noticed that javacvs 
>process the requests
>for the command and writes in the output stream of the ssh 
>connection...
>
>but in some momment it makes a 'flush'... and here it is when 
>the application
>keeps waiting the connection...
>