Problems with Eclipse & CVS....

From: Patrick (googleaddress_at_yahoo.co.uk)
Date: 01/21/05


Date: 20 Jan 2005 15:29:10 -0800

I have been trying to use Eclipses CVS client to TAG my project.
However, I keep getting an error, here is the associated command and
error outputed by Eclipse.

***
cvs tag "/MYPROJECT/Tag_Version_01" "/MYPROJECT"

cvs tag: failed to create lock directory for
`/cvs/stdk/CVSROOT/Emptydir' (/cvs/stdk/CVSROOT/Emptydir/#cvs.lock):
Permission denied

cvs tag: failed to obtain dir lock in repository
`/cvs/stdk/CVSROOT/Emptydir'
cvs [tag aborted]: read lock failed - giving up

The server reported an error while performing the "cvs tag" command.
(took 0:00.511)
Error: MYPROJECT: cvs tag: failed to create lock directory for
`/cvs/stdk/CVSROOT/Emptydir' (/cvs/stdk/CVSROOT/Emptydir/#cvs.lock):
Permission denied
Error: MYPROJECT: cvs tag: failed to obtain dir lock in repository
`/cvs/stdk/CVSROOT/Emptydir'
Error: MYPROJECT: cvs [tag aborted]: read lock failed - giving up
***

When I run the same command from the command line (using Cygwins CVS
client) I get the following...

   $ cvs tag "/MYPROJECT/Tag_Version_01" "/MYPROJECT"
   cvs [tag aborted]: tag `/MYPROJECT/Tag_Version_01' must start with
a letter

When I run

   $ cvs tag "MYPROJECT/Tag_Version_01" "MYPROJECT"

It works!

So it would seem that the problem is with Eclipse and the manner with
which it forms the tag.

Has anyone else had this problem?
How do I get eclispse to form the tag correctly?

When I am in the "Java Perspective" to tag my project I just
right-click on my project (MYPROJECT) then 'Team'->'Tag as version',
and enter the tag name (Tag_Version_01).

Maybe I am doing something wrong?

Any help greatly appreciated,

Pat.



Relevant Pages

  • Re: CVS is dead
    ... Do you know that a tag isn't necessarily a branch (not even on CVS)? ... You need to branch to be able to commit to a *sticky tag*. ... not even exist in your copy of the repository. ...
    (Fedora)
  • Re: 5.3-STABLE ????
    ... >> just technical changes to the CVS repository and that all they do is ... Your 4.x-STABLE boxes will be using the RELENG_4 tag in their sup ... The relationship between the most commonly used CVS tags and OS ...
    (freebsd-questions)
  • Re: cvsup with tag=. on src and upgrading (in general)
    ... >The documentation says tag=. ... >Did I do something wrong with the cvsup file? ... If you want the CVS directories, ... Also note that if you use no-tag, you get the CVS repository. ...
    (freebsd-stable)
  • Eclipse & CVS
    ... I have been trying to use Eclipses CVS client to TAG my project. ... error outputed by Eclipse. ... The server reported an error while performing the "cvs tag" command. ...
    (comp.lang.java.softwaretools)
  • RE: fixed a bug of adma in rhel4u5 with HDS7250SASUN500G.
    ... The patch is to solve the error message "ata1: ... It meaned the hardware had not completely finished the command. ... another command (tag 0), the error happened. ... The notifier register is 32-bit register containing notifier value. ...
    (Linux-Kernel)