Subclipse svn:ignore
Solution 1:
You can't svn:ignore a file that is already commited to repository.
So you must:
- Delete the file from the repository.
- Update your project (the working copy) to the head revision.
- Recreate the file in Eclipse.
- Set svn:ignore on the file via Team->Add to svn:ignore.
- Restart eclipse to reflect changes.
Good luck!
Solution 2:
I was able to do this using TortoiseSVN directly from Windows explorer:
Right click on file to ignore->TortiseSVN
->Delete and add to ignore list
I had to close then re-open the project in Eclipse, job done :)
Solution 3:
It seems Subclipse only allows you to add a top-level folder to ignore list and not any sub folders under it. Not sure why it works this way. However, I found out by trial and error that if you directly add a sub-folder to version control, then it will allow you to add another folder at the same level to the ignore list.
For example, refer fig above, when I wanted to ignore the webapp folder without adding src, subclipse was not allowing me to do so. But when I added the java folder to version control, the "add to svn:ignore..." was enabled for webapp.