matt burns
matt burns

Reputation: 25370

How do I tell eclipse to ignore files not related to the project

ecilpse is giving warnings because it doesn't understand some files that are not related to the project such as the .DS_Store files:

enter image description here

Upvotes: 2

Views: 2842

Answers (2)

Evgenia Kotova
Evgenia Kotova

Reputation: 11

The answer above didn't help me. I use a solution from Egit: Set gitignore to ignore all eclipse project files

Add in project .gitignore file the code

# Mac
.DS_Store

Upvotes: 0

matt burns
matt burns

Reputation: 25370

These files can be ignored on a per-project basis...

First, right-click the project and open the properties and go to Resource Filters:

enter image description here

Then simply add an exclusion rule like this:

enter image description here

You can also use this for hidden svn/git files and folders that may be causing you problems.

Upvotes: 7

Related Questions