Eclipse 'Add CVS Repository' hangs on know

2019-09-09 20:52发布

I have a CVS server which is known to be ok (works from other machines). I am trying to set up Eclipse to connect from an Ubuntu box.

The following command-line command succeeds:

cvs  -d ':extssh:myuser@myhost/path/to/repository' checkout myrepository

Yet when I do Eclipse 'Add CVS Repository' it hangs on this, using both extssh and pserver protocols. extssh using port 22.

(There's no error message, it just hangs. Regardless whether 'Validate connection on finish' is on or off.) I verified that all of the settings are ok. Port 22 is not blocked. I double-checked Preferences under 'General>Network Connections' and 'Team>CVS' I do not think it is an issue with keyless ssh either.

This is on an Ubuntu box, but these exact same Eclipse CVS client settings succeed from a Mac box. (The Ubuntu box uses 9.10, and Eclipse is installed as EasyEclipse 1.3.1, installed as user, not root.
Plugin org.eclipse.team.* versions are:
(Ubuntu)
org.eclipse.team.cvs.ssh,.ssh2 3.2.100
org.eclipse.team.ui,.core,.cvs.core,.cvs.ui 3.3.r33x_2007...
(Mac)
org.eclipse.team.cvs.ssh2 3.2.300
org.eclipse.team.ui,.cvs.core,.cvs.ui 3.5.100.l20100527-0800

(EasyEclipse prevents me from upgrading the Ubuntu plugins, it insists these 4-year-old ones are the latest. Maybe an argument against using EasyEclipse.)

How to troubleshoot? How to trace what is actually happening inside Eclipse? (as 'cvs -t -t' would give) (As a sidebar, Eclipse should actually be printing a proper error message. I've checked every appnote and userguide I can find with Google.)

1条回答
▲ chillily
2楼-- · 2019-09-09 21:37

Consensus was that EasyEclipse prevents user from upgrading the (4-year-old) Ubuntu plugins, insists that 3.3.x are the latest available, which cause this hang.

As of 5/2011, EasyEclipse is retired unless a new maintainer steps up.

查看更多
登录 后发表回答