Exclude Eclipse.settings hidden directory from commits when using TortoiseSVN

I am using the TortoiseSVN and Eclipse client. When I try to execute an Eclipse project, TortoiseSVN displays the .settings directory in the file list and says that it is not supported by the version. It seems that the `.settings' directory where Eclipse saves all its settings for the project.

Is there any way to exclude this directory so that it is completely ignored by TortoiseSVN for this and any other Eclipse projects?

+6
eclipse windows svn tortoisesvn
source share
4 answers

Since you want to ignore this folder worldwide, you should use & hellip; global disregard!

Take a look at the file

 %APPDATA%\Subversion\config 

and uncomment the global-ignores and add .settings to it.


Example

An example of the full path to the config file:

 C:\Documents and Settings\pmn\Application Data\Subversion\config 

An example of the new contents of the global-ignores :

 global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store .settings 
+5
source share

You can exclude such directories by right-clicking them on Windows and going to TortoiseSVN / "Delete and add to ignore list" and then specifying it in the submenu:

Enter image description here

It is really easy to do, I have to do it quite often.

+4
source share

You can specify the resources to ignore in the window "Window" β†’ "Settings" β†’ "Command" β†’ "Ignored Resources".

+3
source share

If you use Eclipse, you can try subClipse, it is a free subversion plugin for eclipse and this will allow you to exclude the .setings folder. See this link .

However, are you sure you do not want this to be done? Since your project is built in Eclipse, you can say that settings are part of your project.

Personally, I like to write these files, because they allow me to keep the same settings for each project in every place and for every developer.

+1
source share

All Articles