Skip to main content



      Home
Home » Newcomers » Newcomers » Files not managed by CVS show up with dirty flag
Files not managed by CVS show up with dirty flag [message #78623] Fri, 17 June 2005 03:48 Go to next message
Eclipse UserFriend
Originally posted by: jacobsph.hotmail.com

Hello,

I have recently installed Eclipse to develop in C and I am using CVS.
Great IDE, but there is one big problem that I cannot resolve (I have been
checking all preferences to solve it.. without success):

When I run a make (from a command-line, so external to the eclipse IDE) of
my project, suddenly a lot of folders get a "dirty tag". Isn't this
"dirty tag" used to indicate that a file/folder has been modified form the
latest CVS version? When I look deeper, I see that Eclipse is putting
dirty flags to every file which is not managed by CVS. But I'd like to
see this only for files managed by CVS. I tried adding the *.o, *.ln, ...
in the exclude list. But of course this is not helping, since my
executables don't have an extension.

Why is Eclipse taking files not managed by CVS into account? And where
can I change this?

Thx for your help,

Ph
Re: Files not managed by CVS show up with dirty flag [message #78698 is a reply to message #78623] Fri, 17 June 2005 11:30 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

jacobsph wrote:
> Hello,
>
> I have recently installed Eclipse to develop in C and I am using CVS.
> Great IDE, but there is one big problem that I cannot resolve (I have
> been checking all preferences to solve it.. without success):
>
> When I run a make (from a command-line, so external to the eclipse IDE)
> of my project, suddenly a lot of folders get a "dirty tag". Isn't this
> "dirty tag" used to indicate that a file/folder has been modified form
> the latest CVS version? When I look deeper, I see that Eclipse is
> putting dirty flags to every file which is not managed by CVS. But I'd
> like to see this only for files managed by CVS. I tried adding the *.o,
> *.ln, ... in the exclude list. But of course this is not helping, since
> my executables don't have an extension.
>
> Why is Eclipse taking files not managed by CVS into account? And where
> can I change this?

New files (those created in your workspace since the last time you
synchronized with the repository) are considered a change, so the
directory that contains them is flagged as modified.
You might be able to add the pattern *. to the Team > Ignored Resources
exclude list, but I'm not sure that will do what you want.

The best way to address this is to use .cvsignore
Highlight a directory or file(s) and choose Team > Add to .cvsignore...
from the pop-up menu (or you can create/edit .cvsignore manually). It is
generally a good idea to include in the .cvsignore any directories where
files are generated into.
Do a Help search for .cvsignore and you'll find all the details you need.

HTH,
Eric
Previous Topic:ctrl-h <-> delete backwards ... and other emacs key bindings...
Next Topic:Variable values in hex
Goto Forum:
  


Current Time: Sat May 10 09:38:39 EDT 2025

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

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

Back to the top