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

Bug 358679

Summary: CVS unable to swallow trailing '/' in CVS/Root file
Product: [Eclipse Project] Platform Reporter: Steven InAz <steven.dawson.az>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard: stalebug

Description Steven InAz CLA 2011-09-22 19:43:18 EDT
Build Identifier: I20110613-1736

We have a makefile based Checkout process.  This gets run on a linux command line and is used to check out selected IP when we "build" our environments.  Running Red Hat Enterprise, CVS version 1.11.22.

When I do my check-out the CVS/Root file has a trailing "/" on it.  When I try to import the project (after checkout) it dies on the trailing "/".  I wrote a perl script to parse the tree that I have checked out, removing the trailing '/'.  

After this CVS in Eclipse was happy.  The linux client described above was still happy.

Reproducible: Always

Steps to Reproduce:
1.  Checked out a project from a pserver using linux client described above
2.  'more CVS/Root' gives following format:
    :pserver:username@someserver:1234/reponame/
3.  Start Eclipse
4. File>New Project>General>Project
5. Fill in Project name
6. Uncheck "Use default location" and browse to teh checked out area
7. Next
8. Finish
9. In the project explorer, right click on the newly imported project, > Team > Share
10.  Get errors at this point: Error refreshing tags
java.lang.reflect.InvocationTargetException

If I go in and remove trailing '/', the problems go away.
Comment 1 Lars Vogel CLA 2019-11-14 03:25:22 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.