Bug 19692 - [CVS CVSNT] Eclipse should detect use of a repository prefix
Summary: [CVS CVSNT] Eclipse should detect use of a repository prefix
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P4 major (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Michael Valenta CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 24151 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-07 18:27 EDT by Ken DeLong CLA
Modified: 2002-09-27 09:28 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken DeLong CLA 2002-06-07 18:27:06 EDT
I'm using cvsnt as my cvs server, version 1.11.1.3 build 57d.  Eclipse works 
fine with the respository.

However, if I use the command-line cvs client to check out the project 
somewhere else, modify a file, and then commit cvs, Eclipse will break.  When I 
try to Synchronize with the Repository, everything works fine until it comes to 
the modified file, then it says "An error has occured processing file 
<filename>".  The same message is in the .log file.

I'm using the F2 build with Java 1.3.1 on WinXP.
Comment 1 Michael Valenta CLA 2002-06-08 08:07:09 EDT
Could you please attach the log file. It may contain more specific information 
that will help us determine the problem.
Comment 2 Kevin McGuire CLA 2002-06-08 13:05:48 EDT
cvsnt unsupported.

If we receive more info we might be able to investigate, but unlikely in 
remaining 2.0 timeframe.
Comment 3 Ken DeLong CLA 2002-06-10 11:11:16 EDT
Here's my log file contents.  I checked out the project from a command line 
using :pserver:user@machine:/Repository.  I modified a file and did a cvs 
commit.  I deleted my .log file, then started Eclipse, right-clicked on my 
project and said Team -> Synchronize with Repository.  Here's what was left in 
the log file:

!SESSION Jun 10, 2002 08:23:14.584 ---------------------------------------------
java.version=1.3.1
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:D:/eclipse/
!ENTRY org.eclipse.team.cvs.core 4 -6 Jun 10, 2002 08:23:14.584
!MESSAGE An error has occurred processing 
file 'D:/CVS/Repository/Projects/Reminders/test/investor/reminders/TestCompany.j
ava 1.13'
Comment 4 Kevin McGuire CLA 2002-07-17 16:23:47 EDT
We now have time to investigate further.
Comment 5 Michael Valenta CLA 2002-07-18 10:19:07 EDT
This is the old repository profix problem again (see bug 21349). When using 
Eclipse with CVSNT, the CVSNT server must be configured to use the full path 
name and NOT a repository prefix. I'm not sure if there is anything we can do 
from the Eclipse end to fix the problem but I'll try to come up with something 
since this happens quite a bit.
Comment 6 Michael Valenta CLA 2002-07-18 10:19:43 EDT
At least we could detect the case where the server is CVSNT and a prefix is 
being used and warn the user.
Comment 7 Michael Valenta CLA 2002-08-29 10:45:21 EDT
Changed title from "CVS problems with externally modified files"
Comment 8 Michael Valenta CLA 2002-09-27 09:18:47 EDT
*** Bug 24151 has been marked as a duplicate of this bug. ***
Comment 9 Michael Valenta CLA 2002-09-27 09:28:52 EDT
Fix released to HEAD.

This fix will detect the use of a repository pefix and warn the user that this 
is incompatible with some Eclipse operations. The user can still choose to keep 
the location.