Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » CVS, partial content and user rights
CVS, partial content and user rights [message #187117] Fri, 30 January 2004 06:49 Go to next message
Eclipse UserFriend
Hi,

I have to deal with a special organization within CVS. The repository
includes many directories. I have read access to each one, and I have
write access only to a part of the repostory : /com/soc/pack1/pack2

I've created a project which share with the whole repository (I hardly see
how to avoid this), but I've updated my project only from the part where I
have write access.

Until that point, everything was fine.

Now I want to commit a file (Right click on it and Commit), but I have the
error :
****
cvs -r ci -m "EGT : Correction syntaxe"
" /myProject/com/soc/pack1/pack2/pack3/pack4/pack5/myFile.java "
egt ::checking user rights.
check for
check for /com/soc/pack1/pack2/*
check for
check for /tools/*
Commit from egt rejected
cvs server: Pre-commit check failed
cvs [server aborted]: correct above errors first!
The server reported an error while performing the "cvs commit" command.
(took 0:00.875)
Error: myProject: cvs server: Pre-commit check failed
Error: myProject: cvs [server aborted]: correct above errors first!
****

Why does eclipse check the tools right ? How to avoid this ?

Thanks in advance for your answers.

E.G.
Re: CVS, partial content and user rights [message #187125 is a reply to message #187117] Fri, 30 January 2004 06:51 Go to previous messageGo to next message
Eclipse UserFriend
I've forgotten to say that I'm using Eclipse 2.1.2 release.

E.G.
Re: CVS, partial content and user rights [message #187222 is a reply to message #187117] Fri, 30 January 2004 10:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Michael_Valenta.oti.com

Please see bg https://bugs.eclipse.org/bugs/show_bug.cgi?id=8430. It
looks like it is related to your case.

Michael

Emmanuel Guyot wrote:

> Hi,
>
> I have to deal with a special organization within CVS. The repository
> includes many directories. I have read access to each one, and I have
> write access only to a part of the repostory : /com/soc/pack1/pack2
>
> I've created a project which share with the whole repository (I hardly see
> how to avoid this), but I've updated my project only from the part where I
> have write access.
>
> Until that point, everything was fine.
>
> Now I want to commit a file (Right click on it and Commit), but I have the
> error :
> ****
> cvs -r ci -m "EGT : Correction syntaxe"
> " /myProject/com/soc/pack1/pack2/pack3/pack4/pack5/myFile.java "
> egt ::checking user rights.
> check for
> check for /com/soc/pack1/pack2/*
> check for
> check for /tools/*
> Commit from egt rejected
> cvs server: Pre-commit check failed
> cvs [server aborted]: correct above errors first!
> The server reported an error while performing the "cvs commit" command.
> (took 0:00.875)
> Error: myProject: cvs server: Pre-commit check failed
> Error: myProject: cvs [server aborted]: correct above errors first!
> ****
>
> Why does eclipse check the tools right ? How to avoid this ?
>
> Thanks in advance for your answers.
>
> E.G.
>
>
Re: CVS, partial content and user rights [message #187254 is a reply to message #187222] Fri, 30 January 2004 11:13 Go to previous messageGo to next message
Eclipse UserFriend
Michael Valenta wrote:

> Please see bg https://bugs.eclipse.org/bugs/show_bug.cgi?id=8430. It
> looks like it is related to your case.

> Michael

Hi Michael,

Well it isn't related because I see the messages in the CVS Console. All
the more, when I commit with WinCVS it works fine.

I've searched the bug database about this and I didn't find any hint.

E.G.
Re: CVS, partial content and user rights [message #188339 is a reply to message #187117] Mon, 02 February 2004 11:58 Go to previous message
Eclipse UserFriend
Hi,

Sorry for this message : I've discovered that there is a pre-commit script
written here which has a few constraints in the Module name when it checks
for rights.

The only point that concerns Eclipse is that the Module name is not
mandatory. If I want to share with the whole CVS reporsitory, I have to
use "./"
I've tested that when I use "/", Eclipse works fine, but other CVS tools
doesn't. Strange isn't it.

E.G.
Previous Topic:Remote debug problem with Eclipse and JBoss
Next Topic:why eclipse does not wrap text lines
Goto Forum:
  


Current Time: Fri Jul 18 17:13:58 EDT 2025

Powered by FUDForum. Page generated in 0.08149 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top