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

Bug 39516

Summary: [CVSNT] Eclipse does not support repository prefix
Product: [Eclipse Project] Platform Reporter: Gavin Bong <legolas_sindarin>
Component: TeamAssignee: Platform-VCM-Inbox <platform-vcm-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P5 CC: rnile, vijay.dafal
Version: 2.1Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Gavin Bong CLA 2003-07-01 21:57:00 EDT
When I connect to a repository located on cvsnt 2.0.5; I got this error:

Error validating location: "CVSNT repository ':pserver:foo@localhost:/test' is 
configured to use a repository prefix. However, CVSNT does not always properly 
communicate resource paths in this mode resulting in the failure of some 
specialized Eclipse CVS operations. The use of a repository prefix should be 
disabled if the full functionality of the Eclipse CVS client is desired.

What are these specialized Eclipse CVS operations alluded to above in the error 
message ? Can this be fixed ?
Comment 1 Michael Valenta CLA 2003-07-02 08:27:56 EDT
Eclipse makes use of the path information in text messages recieved from the 
server. The messages contain the full path of the resource (e.g D:\cvs\root). 
If a reposiory prefix is used, it is impossible to know for sure how to map 
the full name to the shortened prefix. The workaround is to configure CVSNT to 
use full repository paths (i.e. disable the use of a prefix).

At the current time CVSNT is an unsupported platform. This issue will not be 
considered until such a time that CVSNT becomes supported (or someone using 
CVSNT decides they want to tackle it themselves;-)
Comment 2 Michael Valenta CLA 2004-06-16 16:46:34 EDT
This has been fixed in CVSNT. Enable repository prefixes and on the Advanced 
page of the CVSNT control panel, enable the "act like a Unix server" option.
Comment 3 Michael Valenta CLA 2004-09-09 13:35:47 EDT
For the information of interested parties, I have tested this successfully 
with CVSNT version 2.0.41.
Comment 4 Jaroslaw Maksimowicz CLA 2004-11-16 17:46:09 EST
In version CVS Server and Client: (2.0.58d), there isn't "act like a Unix
server" option on the Advanced page of the CVSNT control panel.
Comment 5 Michael Valenta CLA 2004-11-17 08:27:17 EST
I have been told that there is still an option somewhere for enabling the 
ability to act like a 1.11.2 server.
Comment 6 Olivier Demeijer CLA 2004-11-18 02:35:17 EST
The correct terminology is "Pretend to be a Unix CVS version" (cvsnt 2.0.51d)
Comment 7 Bill Gleeson CLA 2004-11-23 09:14:24 EST
In CVSNT 2.0.58d, the required setting can be found under the 'Compatability' tab. 

Check 'respond as cvs 1.11.2 to version request'; stop and restart the service.
Comment 8 mike CLA 2004-12-31 01:10:37 EST
In CVSNT 2.0.58d,
you need to check both 'respond as cvs 1.11.2 to version request' & 'Emulate -n 
checkout bug'.
Comment 9 venkat varadarajan CLA 2005-03-14 12:42:27 EST
For the same issue in Linux (CVSNT 2.0.58d)
you need to enable Compat0_OldVersion=1,Compat0_HideStatus=1
in the file /etc/cvsnt/PServer
Comment 10 Marko CLA 2005-05-25 08:02:36 EDT
for a working combination of CVSNT v2.5.x and ECLIPSE 3.0.x enable the option
"emulate -n checkout bug" in the Compatibility tab of cvsnt Control Panel.
Comment 11 vijaykumar CLA 2006-02-08 06:51:06 EST
I have installed CVSNT 2.5.03. Further, I enabled options 'respond as cvs 1.11.2 to version request' & 'Emulate -n checkout bug' under 'Compatability' tab. Later restarted CVSNT server.

Error remains same in Eclipse.

FYI: I use WSAD Eclipse 2.0 for CVS configuration.
Comment 12 Michael Valenta CLA 2006-02-08 08:30:22 EST
It's only works for "ECLIPSE 3.0.x" and beyond as the comment 10 mentioned.
Comment 13 Russell J. Nile CLA 2006-03-21 16:28:18 EST
*** Bug 132743 has been marked as a duplicate of this bug. ***