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.

Bug 102035 - Error badges do not honor includes/excludes
Summary: Error badges do not honor includes/excludes
Status: RESOLVED DUPLICATE of bug 101281
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks: 49026
  Show dependency tree
 
Reported: 2007-04-20 23:23 UTC by Jesse Glick
Modified: 2007-04-26 17:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-04-20 23:23:18 UTC
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
Comment 1 Jan Lahoda 2007-04-21 09:32:04 UTC
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.
Comment 2 Jesse Glick 2007-04-23 18:03:52 UTC
I guess this has the same root cause as issue #98270?
Comment 3 Jan Lahoda 2007-04-23 20:39:38 UTC
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.
Comment 4 Jan Lahoda 2007-04-26 17:16:52 UTC
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 ***