Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » CVSROOT/Emptydir
CVSROOT/Emptydir [message #256737] Tue, 29 June 2004 12:52 Go to next message
Eclipse UserFriend
Why does Eclipse (version 2.1.3) require access to the directory
CVSROOT/Emptydir when tagging a project in CVS?

When I tried to add a tag to my project in CVS, I received the following
error messages:

Problems reported tagging the resource.
Go2marineWebApplications: cvs server: failed to create lock directory
for `/usr/local/cvsroot/CVSROOT/Emptydir'
(/usr/local/cvsroot/CVSROOT/Emptydir/#cvs.lock): Permission denied
Go2marineWebApplications: cvs server: failed to obtain dir lock in
repository `/usr/local/cvsroot/CVSROOT/Emptydir'
Go2marineWebApplications: cvs [server aborted]: read lock failed -
giving up

Eclipse has not required the existence of this directory when checking out
a project in CVS or when synchronizing, updating or committing.

What is the directory "/usr/local/cvsroot/CVSROOT/Emptydir"? This
directory doesn't exist in my repository. I also scanned my workspace to
see if the directory was defined somewhere and it isn't.

Before I started using Eclipse, I used the cvs command line utility tag my
project in cvs. I have never received this error before or needed the
directory CVSROOT/Emptydir with the command line utility.

To get Eclipse to work, I ended up creating the directory and setting the
permissions to 777.

Is this a bug in Eclipse?

Thanks,
Keith
Re: CVSROOT/Emptydir [message #257095 is a reply to message #256737] Wed, 30 June 2004 09:30 Go to previous messageGo to next message
Eclipse UserFriend
This is not technically a bug in Eclipse so much as a peculiarity of
CVS. There is probably some subtle difference between the way the
Eclipse CVS client performs that tag that causes CVS to access the
directory in question but I'm not sure why.

Michael

Keith Fetterman wrote:

> Why does Eclipse (version 2.1.3) require access to the directory
> CVSROOT/Emptydir when tagging a project in CVS?
>
> When I tried to add a tag to my project in CVS, I received the following
> error messages:
>
> Problems reported tagging the resource.
> Go2marineWebApplications: cvs server: failed to create lock directory
> for `/usr/local/cvsroot/CVSROOT/Emptydir'
> (/usr/local/cvsroot/CVSROOT/Emptydir/#cvs.lock): Permission denied
> Go2marineWebApplications: cvs server: failed to obtain dir lock in
> repository `/usr/local/cvsroot/CVSROOT/Emptydir'
> Go2marineWebApplications: cvs [server aborted]: read lock failed -
> giving up
>
> Eclipse has not required the existence of this directory when checking out
> a project in CVS or when synchronizing, updating or committing.
>
> What is the directory "/usr/local/cvsroot/CVSROOT/Emptydir"? This
> directory doesn't exist in my repository. I also scanned my workspace to
> see if the directory was defined somewhere and it isn't.
>
> Before I started using Eclipse, I used the cvs command line utility tag my
> project in cvs. I have never received this error before or needed the
> directory CVSROOT/Emptydir with the command line utility.
>
> To get Eclipse to work, I ended up creating the directory and setting the
> permissions to 777.
>
> Is this a bug in Eclipse?
>
> Thanks,
> Keith
>
>
>
>
>
>
Re: CVSROOT/Emptydir [message #257109 is a reply to message #256737] Wed, 30 June 2004 10:16 Go to previous messageGo to next message
Eclipse UserFriend
Firstly, 2.1.3 is rather old. There is already final 3.0.0 out since last
friday. Anyway!

When CVS tags a file FILE_X.txt it must open the file FILE_X.txt,v in your
repository add the tag and save it again. So, while the server adds the
tag it locks the file.

Therefore you need write access to the Emptydir directory.

Keith Fetterman wrote:

> Why does Eclipse (version 2.1.3) require access to the directory
> CVSROOT/Emptydir when tagging a project in CVS?

> When I tried to add a tag to my project in CVS, I received the following
> error messages:

> Problems reported tagging the resource.
> Go2marineWebApplications: cvs server: failed to create lock directory
> for `/usr/local/cvsroot/CVSROOT/Emptydir'
> (/usr/local/cvsroot/CVSROOT/Emptydir/#cvs.lock): Permission denied
> Go2marineWebApplications: cvs server: failed to obtain dir lock in
> repository `/usr/local/cvsroot/CVSROOT/Emptydir'
> Go2marineWebApplications: cvs [server aborted]: read lock failed -
> giving up

> Eclipse has not required the existence of this directory when checking out
> a project in CVS or when synchronizing, updating or committing.

> What is the directory "/usr/local/cvsroot/CVSROOT/Emptydir"? This
> directory doesn't exist in my repository. I also scanned my workspace to
> see if the directory was defined somewhere and it isn't.

> Before I started using Eclipse, I used the cvs command line utility tag my
> project in cvs. I have never received this error before or needed the
> directory CVSROOT/Emptydir with the command line utility.

> To get Eclipse to work, I ended up creating the directory and setting the
> permissions to 777.

> Is this a bug in Eclipse?

> Thanks,
> Keith
Re: CVSROOT/Emptydir [message #257446 is a reply to message #256737] Thu, 01 July 2004 08:34 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Keith Fetterman wrote:

>Why does Eclipse (version 2.1.3) require access to the directory
>CVSROOT/Emptydir when tagging a project in CVS?
>
>
I think (did not try) this could be prevented by separating the lock
directory from the actual repository by having this entry in the CVS
config file:

# Put CVS lock files in this directory rather than directly in the
repository.
LockDir=d:/CVSREPO/LockDir

Dani

>When I tried to add a tag to my project in CVS, I received the following
>error messages:
>
>Problems reported tagging the resource.
> Go2marineWebApplications: cvs server: failed to create lock directory
>for `/usr/local/cvsroot/CVSROOT/Emptydir'
>(/usr/local/cvsroot/CVSROOT/Emptydir/#cvs.lock): Permission denied
> Go2marineWebApplications: cvs server: failed to obtain dir lock in
>repository `/usr/local/cvsroot/CVSROOT/Emptydir'
> Go2marineWebApplications: cvs [server aborted]: read lock failed -
>giving up
>
>Eclipse has not required the existence of this directory when checking out
>a project in CVS or when synchronizing, updating or committing.
>
>What is the directory "/usr/local/cvsroot/CVSROOT/Emptydir"? This
>directory doesn't exist in my repository. I also scanned my workspace to
>see if the directory was defined somewhere and it isn't.
>
>Before I started using Eclipse, I used the cvs command line utility tag my
>project in cvs. I have never received this error before or needed the
>directory CVSROOT/Emptydir with the command line utility.
>
>To get Eclipse to work, I ended up creating the directory and setting the
>permissions to 777.
>
>Is this a bug in Eclipse?
>
>Thanks,
>Keith
>
>
>
>
>
>
>
Previous Topic:version 2.1.3 and 3.0 on one system?
Next Topic:Bug in Type Hierarchy w/ Show Selected Element Only enabled?
Goto Forum:
  


Current Time: Sun May 11 15:09:43 EDT 2025

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

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

Back to the top