Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 64403

Summary: cannot "share" a cvs repository with eclipse 3.0rc2
Product: [Eclipse Project] Platform Reporter: Alan Hawrelak <alan>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description Alan Hawrelak CLA 2004-05-27 13:46:59 EDT
Running on linux 2.4.22 using a cvs client and server version 1.11.15
Using the cvs command line tool, with an ssh connection, had checked out a
repository.
Had setup repository location in eclipse (which eclipse confirmed).
Then using eclipse 3.0rc2, created an external project in that checked out cvs
repository. When I went to "share" that repository to have eclipse use it also,
it gave an error:
"Invalid CVS repository location format: /home/rep/swordfish
Location must have form ":method name:[user[:password]@]host:[port]/path/to/cvsroot"

The tail end of the .log file is as follows:

!ENTRY org.eclipse.ui 4 4 May 27, 2004 10:14:28.668
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 May 27, 2004 10:14:28.669
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at
org.eclipse.team.internal.ccvs.ui.wizards.SharingWizard.autoconnectCVSProject(SharingWizard.java:413)
	at
org.eclipse.team.internal.ccvs.ui.wizards.SharingWizard$1.run(SharingWizard.java:209)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
!ENTRY org.eclipse.ui 4 4 May 27, 2004 10:19:28.596
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 May 27, 2004 10:19:28.596
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at
org.eclipse.team.internal.ccvs.ui.wizards.SharingWizard.autoconnectCVSProject(SharingWizard.java:413)
	at
org.eclipse.team.internal.ccvs.ui.wizards.SharingWizard$1.run(SharingWizard.java:209)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Comment 1 Michael Valenta CLA 2004-05-27 13:58:33 EDT
Eclipse does not support the local connection method. You will need to check 
the project out using pserver, ext or extssh (i.e. the location shoud look 
like :pserver:username@host:/home/rep/swordfish)


*** This bug has been marked as a duplicate of 6892 ***