Note that there are some explanatory texts on larger screens.

plurals
  1. POEclipse CVS Commit, ignore certain file types
    text
    copied!<p>I have a rather large project made up of lots of...projects, each with their own Debug and Release folders along with a bunch of other files that I don't really want to commit like .rc and .user. </p> <p>At the moment I right click the top folder, click commit and eclipse asks how i would like to store all these "new files" it has detected, how do i tell it I don't want to commit any of them.</p> <p>So far i have read that i need a .cvsignore file but that doesn't seem to make a difference. I tried doing a "clean" of the project but there was still plenty of files i don't want.</p> <p>Does anyone have any advice on how to make this at the very least less painful? I have even tried doing a search on the project for certain . files I don't want and deleting them but some of them re-create themselves....</p> <p>Note: I usually just commit the files I want by selecting them individually but this time it is about 600+ files...</p> <p><em><strong>UPDATE</em></strong></p> <p>Sorry for taking so long. Thank you to everyone for their answers, they are all technically correct, none actually worked for me, but i will mark Burhan as the best answer</p> <p>I have tried the cvs ignore route before and it never seemed to work, unfortunately it still didn't work for me. </p> <p>The per directory approach does seem to work but its quite a painful process in this case. But khmarbaise is correct this is the documented method, and is actually correct.</p> <p>The Global method Burhan mentioned seemed ideal but didn't seem to work, Perhaps i have mis-understood where CVSROOT is, i always assumed it was the "CVS" folder located in the top most directory, it includes files like "Tag", "Root" etc. is this wrong?</p> <p>@thkala, the "Team->Add to .cvsignore" was always greyed out for me and therefore could not be used but again is another valid route when it does work.</p> <p>However I think i have finally realized why I have so many problems with CVS and eclipse and i would like to post what finally worked for me and what may actually be the missing link for the .cvsignore route.</p> <p>I always checked the project out this way: <strong>CVS Repositoris -> Right click the branch -> check out as -> check out as project in the workspace.</strong></p> <p>However the reason i was having so many problems with <strong>cvs and indexing</strong> what i should have done is: *<em>CVS Repositoris -> Right click the branch -> check out as -> check out as ...New Project Wizard. -> retype branch -> Makefile Project with Existing code *</em> (as a side note does anyone know how to specify the directory for the new project?)</p> <p>Anyone who didn't do this and doesn't want to re-checkout can remove the project and re-add it using "new project" </p> <p>At this point "Add to CVS ignore" was no longer greyed out. So you can now use that route if you want. </p> <p>At this point however i tried something else i hadnt used before <strong>Team->synchronize with repo</strong>. This Seemed to bring up only the <strong>Changes</strong> i had made and therefore did not have any of the "new files" which was all the files i didn't want to commit. I was therefore able to simply double check the folders and then do a blanket commit on all those files in the sync view. It is really important to note that I actually had some build generated .h and .c files, so if i had succeeded in ignoring certain files, i would have still checked in these unwanted files (silver lining i suppose).</p> <p>Perhaps i should rephrase the question to "large commit" to be more helpful to future cvs + eclipse newbies? anyone agree? </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload