[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: CVSIGNORE file help?

From: Jim.Hyslop
Subject: RE: CVSIGNORE file help?
Date: Tue, 8 Mar 2005 11:56:40 -0500

OTESAO wrote:
> basically I've checkout a set of jsp and java
> files from a brand a repository into an eclipse project.
> Then I added some gif, html, psd, class files into the checked out
> folders, but wanna ignore them when doing a commit.
> any way to do a global .cvsignore rather than a .cvsignore
> in each folder and subfolders?
Have you tried using the -I parameter when adding? Somthing like this should
do it:

cvs add -I*.gif -I*.html -I*.psd -I*.class

Oh, wait a sec - you said you were using Eclipse, didn't you?

OK, There's also a per-user cvsignore, which would be $HOME/.cvsignore. And,
there's the $CVSIGNORE environment variable. Eclipse *should* respect these
(or maybe something similar - check the Eclipse documentation).

With each of these approaches, though, if there are multiple developers at
your site with the same requirements, then each developer will have to
replicate this work. This is error prone. I would hesitate putting *.gif and
*.html (and possibly *.psd - I don't know what they are) into a global
ignore file - it seems like too much of a "shotgun" approach. I would
recommend that you bite the bullet and put a .cvsignore file in each

As for Eclipse ignoring the $CVSROOT/CVSROOT/cvsignore file, that might be a
problem to report to Eclipse (unless you can also replicate that with the
command-line client, in which case a bug report to address@hidden would be

Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( )
Columnist, C/C++ Users Journal ( )

reply via email to

[Prev in Thread] Current Thread [Next in Thread]