Bug 32555 - Share existing CVS project hangs
Summary: Share existing CVS project hangs
Status: VERIFIED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.1   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P2 major (vote)
Target Milestone: 3.0   Edit
Assignee: Platform-VCM-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2003-02-22 10:44 EST by Alex Blewitt CLA
Modified: 2003-05-26 14:54 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot of Eclipse hanging during import phase (92.68 KB, image/png)
2003-02-22 10:46 EST, Alex Blewitt CLA
no flags Details
Screenshot of Eclipse hanging during import phase (92.68 KB, image/png)
2003-02-22 10:47 EST, Alex Blewitt CLA
no flags Details
ROOT entry in CVS directory for project (49 bytes, text/plain)
2003-02-22 10:48 EST, Alex Blewitt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2003-02-22 10:44:05 EST
Mac OS X.2.4 Eclipse I20030220

I imported a project which I had used under Eclipse 2.1M5. The project was
originally shared with CVS information, but the CVS tags showed up as Java
packages (in the Java Browsing view). The CVS connection was using extssh to
a CVS server which I independently verified using the CVS command-line tool
that I could still use (so not due to the fact the CVS server could be connected).

When I set it for sharing, it asked whether or not I wanted to use the existing
CVS information. I did, and selected the 'Verify when finished', but it hung
very shortly into the CVS process.

Having waited for 10 minutes, I had to force-quite Eclipse because it wasn't
responsive.
Comment 1 Alex Blewitt CLA 2003-02-22 10:46:55 EST
Created attachment 3650 [details]
Screenshot of Eclipse hanging during import phase

This showed how far the connection progress bar went; it may be useful in
determining at what point the connection failed
Comment 2 Alex Blewitt CLA 2003-02-22 10:47:01 EST
Created attachment 3651 [details]
Screenshot of Eclipse hanging during import phase

This showed how far the connection progress bar went; it may be useful in
determining at what point the connection failed
Comment 3 Alex Blewitt CLA 2003-02-22 10:48:20 EST
Created attachment 3652 [details]
ROOT entry in CVS directory for project
Comment 4 Alex Blewitt CLA 2003-02-22 11:01:47 EST
I force-quat eclipse, and then copied over the .metadata from my previous
workspace. When I restarted, the application worked as expected and I could
use CVS to interact with it.

It looks like the problem is in sharing an existing repository rather than 
repository access per se.

I also got the build wrong; it was 20030221, not 20 as previously mentioned.
Comment 5 Alex Blewitt CLA 2003-02-22 12:24:28 EST
I checked out the same project using :ext: instead of :extssh: and it seemed
to work fine when I'd checked it out as directly.

It may either be a glitch in the :extssh: or the share mechanism...
Comment 6 Andre Weinand CLA 2003-02-24 05:34:15 EST
Are you running cvs on MacOS X?
What version? Apple's version is too old.
Comment 7 Alex Blewitt CLA 2003-02-24 06:06:34 EST
I'm using Mac OS X on the client, with SSH to connect to a Linux server.

The CVS on the local path (Mac OS X) is /usr/bin/cvs (1.10) which I'm guessing
is Apple's; under Linux it's 1.11.1p1.

I should have said that I've been using CVS to share my files since Eclipse
came out for Mac OS X with no problems at all up until I tried to 'Share 
existing project' with 2.1RC1.

Instead, I dropped the project from Eclipse, then checked out the version from
CVS as a project, and the synchronization/uploading/downloading etc. works
fine.

So it seems to be just a glitch in the share existing project, or something
that depends off that ...
Comment 8 Thorsten Heit CLA 2003-02-24 10:43:45 EST
I've seen this behaviour since the M4 builds (up to RC1), even with "pserver"
connection types. Last week I installed cvs 1.11.5 via fink, linked /usr/bin/cvs
to /sw/bin/cvs, but Eclipse still showed no difference...
Comment 9 Andre Weinand CLA 2003-02-24 13:12:04 EST
If I remember correctly, Eclipse doesn't support 1.10.x versions of CVS. It requires 1.11.x. 
So I'm using the Fink version of CVS (version 1.11.2) which works without problems.
However, I'm not sure whether your problem is related to the CVS version.
Comment 10 Alex Blewitt CLA 2003-02-24 13:15:50 EST
From the Eclipse FAQ (admittedly from 2.0)

1.  Does Eclipse use [WinCVS|CVS command-line client] to talk to the server? 

No. Eclipse implements a CVS client in Java that talks directly to the server using the documented CVS protocol. No external CVS client is required.

http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-vcm-home/docs/online/cvs_features2.0/cvs-faq.html

So I don't see why having any kind of version on the Mac should hit this issue
at all. My CVS server is on Linux using CVS 1.11.

Has something changed with 2.1 that uses the OS native CVS tool?

In any case, extracting from a CVS server works, committing works, synchronizing
works; it's just the sharing that doesn't.
Comment 11 Michael Valenta CLA 2003-03-05 15:07:12 EST
I have tried many different combinations of sharing projects both with extssh 
and pserver and have not been able to reproduce this, therefore there is 
nothing I can do for 2.1. Moving to 2.2.
Comment 12 Michael Valenta CLA 2003-03-10 14:08:42 EST
Does this problem still occur in RC2? If so, can you give us your exact setup 
(i.e. Mac model, processor speed and OS, JVM, CVS Server version)?
Comment 13 Thorsten Heit CLA 2003-03-10 16:10:10 EST
As far as I have seen it seems to work in RC2. In the meantime I have installed CVS 1.11.5 via fink which should now be used by default; perhaps this helped solving the problem...?
Comment 14 Alex Blewitt CLA 2003-03-10 18:13:39 EST
Tested against 2.1RC2 on Mac OS X.2.4 (client) Linux 2.4.18 (server).

I have not been able to replicate this problem again. I suggest marking as
'WORKSFORME' and if I can not find a way of replicating this again under RC2
then I'll verify it later this week.
Comment 15 Alex Blewitt CLA 2003-03-12 18:13:47 EST
Verified as working under 2.1RC2 on Mac OS X.2.4