This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Compilation errors in excluded packages will still cause Source Packages and the project node to be marked with an error badge. For steps to reproduce, see http://wiki.netbeans.org/wiki/view/Excludes49026#section-Excludes49026-DemoScript
Yes, listening on classpath changes does not work yet. If the project would have excludes at the time the cache was created, the excludes would be honored correctly. See also issue #101913 and issue #101281.
I guess this has the same root cause as issue #98270?
I do not think so - in #98270, there are two projects (and two classpathes) and the classpathes do not change. In this issue (as I understand it), there is only one project and classpath, but the classpath is being modified (excludes/includes are modified). This issue is IMO more similar to issue #101281.
The fix for issue #101281 should also fix this problem. I have once seen that the event from classpath about exclusion/inclusion did not list all source roots, will file a bug if I see it again. Thanks. *** This issue has been marked as a duplicate of 101281 ***