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 - SourcesHelper generic groups should exclude build folders
Summary: SourcesHelper generic groups should exclude build folders
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks: 107512
  Show dependency tree
 
Reported: 2007-08-01 23:48 UTC by Jesse Glick
Modified: 2016-07-07 08:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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