Julian
Julian

Reputation: 483

ignoring a directory in eclipse

How do I stop eclipse from compiling and detecting errors in a bunch of .java files in a directory? I'm writing a type checker for a class and those files are test cases and I don't want them to be compiled or for the errors to show up in the problems tab.

Upvotes: 0

Views: 38

Answers (1)

Vikdor
Vikdor

Reputation: 24124

Eclipse compiles only those classes in the source folders. Right click on the folder that contains these files, and click on Build Path -> Exclude to exclude that folder from being treated as a source folder and the compiler will ignore these files.

Upvotes: 2

Related Questions