FaqExcludes
Can I exclude some classes or packages from compilation?
Sometimes you may have classes in your source tree which you do not wish to compile; perhaps they are broken (uncompilable), or perhaps they are just irrelevant to your purposes at the moment. By default, plain Java SE projects are configured to compile all sources.
If you want to change this, just configure Includes/Excludes in project properties. See Excludes49026 for full details.
Applies to: NetBeans 6.0 and later