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 111683

Summary: SourcesHelper generic groups should exclude build folders
Product: projects Reporter: Jesse Glick <jglick>
Component: Ant ProjectAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 107512    

Description Jesse Glick 2007-08-01 23:48:37 UTC
SH should ensure that if a TYPE_GENERIC group has a subfolder which is in nonSourceRoots, it is not marked as
contain()'d. This would permit you to add a <build-folder> to a freeform project which could make that subfolder be
excluded from searches etc.
Comment 1 Jesse Glick 2007-08-02 00:54:52 UTC
Alternately: keep a static Set<File> of nonSourceRoots (from all SH instances), and install a global
SharabilityQueryImplementation which reports these dirs (and any children) as NOT_SHARABLE. This would have the effect
of making such dirs not be contain()'d in generic groups, but be more general.
Comment 2 Jesse Glick 2007-08-02 21:12:41 UTC
Test in nbbuild/nbproject/project.xml with Go to File:

               <build-folder>
                    <location>build</location>
                </build-folder>
                <build-folder>
                    <location>nbms</location>
                </build-folder>
                <build-folder>
                    <location>netbeans</location>
                </build-folder>
                <build-folder>
                    <location>testuserdir</location>
                </build-folder>
Comment 3 Martin Balin 2016-07-07 08:39:42 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss