This just came up earlier in the week with someone else wondering what the
red decorator means.
Technically, I think this is a bug in Subversion that it does not remove
the read-only attribute when you run svn add. They did not seem too keen
to fix it, so I added code in Subclipse to remove the read-only attribute
after the add operation runs.
That should take care of the problem.
Mark
"Markus Karg" <markus.karg@quipsy.de> wrote on 09/01/2005 06:26:41 AM:
> Dear Subclise Community,
>
> today I spent more than an hour because nothing worked in Subclipse. All
files
> had a red badge and I was not able to edit them. Subclipse told me that
I have
> to lock the files, but was not able to lock them. Also I was not able to
> unlock them. I tried thousand things but there was no solution. But then
I found it.
>
> To prevent you from suffering the same paine, here is a small HOW-TO for
> solving this issue. Maybe the subclipse admins like to add it to the
official FAQ.
>
>
> Symptoms:
>
> Each file has a red badge.
> You cannot modify a file.
> You cannot lock.
> You cannot unlock.
> Nothing helps. Neither update not cleanup nor rebooting Eclipse.
>
> Diagnosis:
>
> The files in your local workspace have the read-only bit set.
> (In my case, it was set by VSS, since before I was using SVN the project
was
> hosted in a VSS repository. And VSS sets the read-only bit on every file
it
> manages unless you have it checked out).
>
> Solution:
>
> Go to a command shell (Windows: CMD.EXE)
> Remove the read-only bit (Windows: CD to local workspace, ATTRIB -R *.*
/S).
> Update the local workspace (svn update).
> Back in Eclipse refresh the project (e. g. press F5 on the project's top
folder).
>
> Result:
>
> The badges should be gone after some seconds, and you should be able to
do
> whatever you want.
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Thu Sep 1 23:34:38 2005