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 241544

Summary: C/C++ project with existing sources does not allow exclude files by pattern
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: ProjectAssignee: Vladimir Voskresensky <vv159170>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2014-02-07 15:08:26 UTC
Project with existing sources provides Ignore Folders Pattern (project properties, category general).
Lets I need to exclude folder "tests".
It is easy, set Ignored Folders Pattern:
^(nbproject|tests)$
Folder tests disappears in project tree.

Problems:
1. Files from folder "tests" (which were compiled) are in code assistance and participate in find usages.

2. Files from folder "tests" are available via "Go to File" dialog.

3. Files from folder "tests" participate in find on project dialog.

Make consistent ignore pattern with code assistance, goto file and find.
Comment 1 Alexander Simon 2014-02-07 15:23:12 UTC
work around problem 1:
added exclude from code assistance pattern in project properties->Code Assistance->Advanced in change set:
http://hg.netbeans.org/cnd-main/rev/dacee0964836
Comment 2 Quality Engineering 2014-02-08 04:29:03 UTC
Integrated into 'main-silver', will be available in build *201402080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/dacee0964836
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #241544 C/C++ project with existing sources does not allow exclude files by pattern
- introduce exclude from code assistance pattern
Comment 3 Quality Engineering 2014-02-11 02:54:40 UTC
Integrated into 'main-silver', will be available in build *201402110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d02b0aaf3164
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug 241544 - C/C++ project with existing sources does not allow exclude files by pattern
- reparse project if ignore pattern changed
Comment 4 Alexander Simon 2014-02-19 11:11:05 UTC
Please, fix rest 2 and 3 problems