Re: Important: JavaCVS and SSH
Martin Entlicher <[email protected]> Fri, 30 Jan 2004 15:26:16 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
Ojares Rami EINT wrote: > > Martin, > > It sounds as if you feel that I am trying to push the integration > of my addition to javacvs. No, I do not feel that way. But I know that having ssh connection in javacvs library will greatly improve the setup of :ext: connection in NetBeans. Currently users need to use external cvs.exe for :ext: connection with a separate ssh executable. There are problems with passwords, because the password can not be submitted through the IDE. This is why I appreciate your contribution and will integrate it as soon as current priority tasks are resolved. > Relax, I am not. I have everything working for myself and no hurries > whatsoever. > > Actually I wanted to share the fact that my own implementation > is not rock solid and that I have no interest at the moment to delve > deeply inside testing ssh related issues. > > I certainly am for fixing the core bugs first and then later if time > permits fiddling with this direct ssh connection stuff. Yes, this is the approach we need to follow. Regards, Martin > > For Arturo. > > Try creating SSH tunnel and use pserver connection. That should work > in all cases. > > - rami > > >-----Original Message----- > >From: [email protected] [mailto:[email protected]] > >Sent: Friday, January 30, 2004 3:44 PM > >To: [email protected] > >Subject: Re: [javacvs-dev] Important: JavaCVS and SSH > > > > > >Hi, > > > >I have lightly tested the Rami's submission with some > >commands. It worked good, > >there were some small problems which I don't remember offhand, > >but basically it > >worked. We also got a permission to include J2SSH into the NetBeans > >distribution. > > > >However, the integration with J2SSH is not yet in trunk, > >because we're too busy > >with 3.6 release. Our testers do not have resources for > >testing additional > >connection method and we have more then 150 bugs submitted for > >all VCS modules. > >Therefore we need to concentrate on stabilization currently. > > > >But I appreciate the contribution and I will work on the > >integration with J2SSH > >as soon as the stabilization of 3.6 release is done. > > > >Regards, > >Martin > > > >Ojares Rami EINT wrote: > >> > >> 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... > >> > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [email protected] > >For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]