Ignoring Eclipse Project Files in an SVN Project

I have a PHP project created in Eclipse with SVN support. Now Eclipse adds its project files .buildpath and .project to the project, and Subclipse wants to add it to the repository.

Now I could just use svn: ignore so that SVN ignores files, but this is not an option for various reasons. So, is there a way to make Eclipse and Subclipse ignore files (which is all the same)?

+49
svn ignore subclipse eclipse-pdt
Oct 19 '09 at 23:49
source share
6 answers

Preferences > Team > Ignored Resources

+94
Oct 20 '09 at 0:19
source share

Can you use global-ignores ? If so, configure it in the config file:

  • On Windows: C:\Documents and Settings\%USERID%\Application Data\Subversion\config
  • On Linux: ~/.subversion/config
+5
Oct 20 '09 at 0:11
source share

If you want to ignore folders in eclipse ignored resources, the */.settings/* template for the .settings folder, for example

+3
Jan 31 '12 at 19:05
source share

Can I clear the "Show unversioned files" checkbox in the commit window?

+1
19 Oct '09 at 23:52
source share

If you right-click on a folder in eclipse and select "Show Properties ...", you can add svn:ignore right there and include it in each folder if you choose.

The following can be used as a template:

 svn:ignore .settings .project .classpath target 
+1
Jun 13 2018-12-18T00:
source share

If the above answer (turtle) does not have an option for the commit window directly, then

  • go to the tortoise setup β†’ context menu β†’ check the click on the β€œHide” menu for the unversioned path.
0
Mar 29 '16 at 10:42 on
source share



All Articles