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.
NetBeans IDE Dev (Build 200703181900) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Linux version 2.6.5-1.358 running on i386 en_US (nb); UTF-8 Classes located in subfolder of excluded package are excluded as well, but they should be visible. Steps to reproduce: 1) have this project structure: package a: ClassA package a.b: ClassB package a.b.c: ClassC 2) set this values in include/exclude dialog Include=** Exclude=**/b/* -> the ClassC should be visible, but it's hidden. The list of visible/hidden files in include/exclude dialog is ok, ClassC is provided by code completion.
So to clarify, the bug only affects the Projects display, right?
Yes, exactly
Probably an issue in PackageView but need to investigate more.
"**/b/*" was matching the folder itself ("a/b/"), causing it to be omitted with all its children. Tweaking wildcard logic so that trailing "/*" matches only files, not folders. Checking in src/org/netbeans/spi/project/support/ant/PathMatcher.java; /shared/data/ccvs/repository/ant/project/src/org/netbeans/spi/project/support/ant/PathMatcher.java,v <-- PathMatcher.java new revision: 1.4; previous revision: 1.3 done Checking in test/unit/src/org/netbeans/spi/project/support/ant/PathMatcherTest.java; /shared/data/ccvs/repository/ant/project/test/unit/src/org/netbeans/spi/project/support/ant/PathMatcherTest.java,v <-- PathMatcherTest.java new revision: 1.5; previous revision: 1.4 done
v.