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 114287 - Show changes ignoring project includes filter
Summary: Show changes ignoring project includes filter
Status: RESOLVED DUPLICATE of bug 102468
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All Windows ME/2000
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-30 22:10 UTC by sid21177
Modified: 2007-10-26 19:36 UTC (History)
2 users (show)

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 sid21177 2007-08-30 22:10:27 UTC
Scenario
- I have 2 packages pkg1 & pkg2 under src folder
- I define src as my source code folder (and give it the label xyz) in project properties and set includes filter for 
pkg1 only

If I now try project->cvs->show changes on 
   1)my project in the project tab,
   2)the src folder label (xyz),
the IDE shows me the files from both pkg1 and pkg2 in the cvs window.

If I cvs->show changes on the package itself, it shows changes from pkg1 only as expected.

I would expect the search for changes to take into consideration the includes/excludes filters that were set.
Comment 1 Maros Sandor 2007-09-17 13:06:00 UTC
I checked with standard java projects and exlusions seem to have no affect on Project SourceGroups, ie. in your case
sg.contains(pkg2) still returns true. Reassigning to java prioject for evaluation.
Comment 2 Tomas Zezula 2007-09-17 18:30:39 UTC
The SourceGroup implementation created by SourcesHelper works fine it's even covered by unit test:
ant/freeform/test/unit/src/org/netbeans/modules/ant/freeform/FreeformSourcesTest.java. The possible problem is that
J2SESources does not listen on changes of INCLUDES, EXCLUDES properties.
Comment 3 Jesse Glick 2007-10-26 19:36:51 UTC
Probably the VCS integration is looking at the GENERIC source group, which currently does not do excludes.

*** This issue has been marked as a duplicate of 102468 ***