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 - C/C++ project with existing sources does not allow exclude files by pattern
Summary: C/C++ project with existing sources does not allow exclude files by pattern
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-07 15:08 UTC by Alexander Simon
Modified: 2014-02-19 11:11 UTC (History)
0 users

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 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