This is the first time I have ever heard
of the "ssh" connection method for CVS. Usually, SSH is used
by configuring the "ext" conenction method using the CVS_RSH
environment variable. I also couldn't find any information on the connection
method using google. Is this a new connection method for the latest CVS
releases or something specific to Tortoise? In either case, it is not support
by Eclipse. If you can't check the code out again with the "ext"
connection method (you can configure Eclipse to use it's internal extssh
connection method for repository locations that have the ext method on
the EXT Connection Method preference page), then here are the only options
I can think of to help you:
1) Change all occurances of :ssh: to
:extssh: in all CVS/Root files in your project.
2) Write your own plug-in that provides
an ssh connection method. All you would need is the extension point that
registeres the ssh connection method. You could just use the same classes
that the extssh connection methods use. Have a look at the org.eclipse.team.cvs.ssh2
plug-in to see how this could be done.
If the ssh conection method is provided
by Tortoise, you probably should log a bug against Eclipse/Platform/CVS
to request support for this.
Michael
"Puneet Lakhina"
<puneet.lakhina@xxxxxxxxx> Sent by: platform-cvs-dev-bounces@xxxxxxxxxxx
03/14/2008 02:27 AM
Please respond to
"Eclipse CVS Integration developers list."
<platform-cvs-dev@xxxxxxxxxxx>
To
platform-cvs-dev@xxxxxxxxxxx
cc
Subject
[platform-cvs-dev] SSH Trouble
Hi,
I checked out code in my project using the tortoise CVS client. Now I want
to be able to use the CVS plugin once I have imported the code into my
work space. The problem is that the code was checked out using ssh method
so the method is :ssh: which the plugin fails to recognize and gives me
the following error.
Invalid cvs repository location format :ssh:puneet@cvsserver:/cvsroot
the details pane shows this:
Invalid CVS repository location format: :ssh:puneet@cvsserver:/opt/cvsroot
Location must have form ':methodname:[user[:password]@]host:[port]/path/to/cvsroot'
Only the following methods are supported: pserver, ext, extssh, pserverssh2
I dont have an option of checking out the code again through the plugin.
Eclipse 3.2.2
Im using the CVS plugin that comes bundled with eclipse.