Note. . I came here because I was looking for an easy way to exclude certain folders from scanning in Eclipse. My answer does not work for the specific case asked in the question (which is to hide invalid XML files from validation).
How to exclude certain folders or files from scanning in Eclipse?
When folders are on the build path, and when annoying problems are just warnings, there is a way that is straightforward:
- Right click
- Properties
- Java compiler
- Check
Ignore optional compile problems - Ok
The folders will still be checked, errors will be reported, but all warnings will be ignored by Eclipse. For example, this is ideal for a folder of generated sources.
boumbh Jul 23 '15 at 11:20 2015-07-23 11:20
source share