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

Bug 306955

Summary: missing resource on cvs
Product: Community Reporter: Bouchet Stéphane <sbouchet>
Component: CVSAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 306962    

Description Bouchet Stéphane CLA 2010-03-24 11:34:02 EDT
Hi,

i got this strange error with some files under CVS.

steps to reproduce :
1/ checkout org.eclipse.emf/org.eclipse.emf.eef/plugins/org.eclipse.emf.eef.views project from modeling
2/ see that it does not compile du to missing resource.
3/ checkout via HTTP : http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf.eef/plugins/org.eclipse.emf.eef.views/src-gen/org/eclipse/emf/eef/toolkits/impl/?root=Modeling_Project
4/ see that there is 4 files shown, and only 3 in workspace.
5/ copy the missing resource from HTTP to workspace ( http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf.eef/plugins/org.eclipse.emf.eef.views/src-gen/org/eclipse/emf/eef/toolkits/impl/ToolkitsFactoryImpl.java?root=Modeling_Project&view=markup)
6/ the missing resource is now shown as 'new' in the workspace
7/ open history
8/ resource is remotely deleted but shown on the history ? 
9/ commit
10/ error from CVS : The server reported an error while performing the "cvs add" command.
org.eclipse.emf.eef.views: cvs add: `src-gen/org/eclipse/emf/eef/views/impl/ViewsFactoryImpl.java' added independently by second party


this is a very strange behavior. what i see is that file *WAS* removed and commited back, but eclipse still show it as deleted.

Can a webmaster tries to ceanup cvs server or is this a CVS client bug ? 

for me this is critical since i cannot commit any of these files.
Comment 1 Eclipse Webmaster CLA 2010-03-24 15:12:03 EDT
One thing to keep in mind is that the Viewcvs data is out of sync with CVS(it re-indexes every few hours), so should only ever be a guide.

I've taken a look at the repository(/cvsroot/modeling/org.eclipse.emf/org.eclipse.emf.eef/plugins/org.eclipse.emf.eef.views/src-gen/org/eclipse/emf/eef/toolkits/impl) itself and I only see 3 files, all committed by you.

-M.
Comment 2 Bouchet Stéphane CLA 2010-03-25 04:17:26 EDT
(In reply to comment #1)
> One thing to keep in mind is that the Viewcvs data is out of sync with CVS(it
> re-indexes every few hours), so should only ever be a guide.

ok.

> 
> I've taken a look at the
> repository(/cvsroot/modeling/org.eclipse.emf/org.eclipse.emf.eef/plugins/org.eclipse.emf.eef.views/src-gen/org/eclipse/emf/eef/toolkits/impl)
> itself and I only see 3 files, all committed by you.

yes, that is the problem, this should 4 files there, the one in the Attic folder should not be there  : 

/cvsroot/modeling/org.eclipse.emf/org.eclipse.emf.eef/plugins/org.eclipse.emf.eef.views/src-gen/org/eclipse/emf/eef/toolkits/impl/Attic> more ToolkitsFactoryImpl.java,v 
head	1.11;
access;
symbols
	v0_7_1_BRANCH:1.6.0.2
	Root_v0_7_1_BRANCH:1.6
	build_200905051719:1.1;
locks; strict;
comment	@# @;


1.11
date	2010.03.16.07.57.00;	author sbouchet;	state Exp;
branches;
next	1.10;
commitid	104d4b9f39c94567;

1.10
date	2010.03.15.10.57.35;	author glefur;	state Exp;
branches;
next	1.9;
commitid	187624b9e12924567;

1.9
date	2010.03.15.10.57.24;	author glefur;	state dead;
branches;
next	1.8;
commitid	187624b9e12924567;


what happens if i move this file directly on the good folder ? 

> 
> -M.
Comment 3 Eclipse Webmaster CLA 2010-03-25 09:25:19 EDT
I've moved the file out of the attic and back into the repository.  

-M.
Comment 4 Bouchet Stéphane CLA 2010-03-25 09:42:47 EDT
(In reply to comment #3)
> I've moved the file out of the attic and back into the repository.  
> 
> -M.

Thanks ! 
but there is some others files in the same situation.

could i do the move myself or do i need to list the files here ?
Comment 5 Eclipse Webmaster CLA 2010-03-25 09:54:37 EDT
Yes, you can move them yourself.

-M,
Comment 6 Bouchet Stéphane CLA 2010-03-25 10:52:48 EDT
(In reply to comment #5)
> Yes, you can move them yourself.
> 
> -M,

Thanks, i will do that myself.