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 193546 - Ignored folders don't work
Summary: Ignored folders don't work
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Mysik
Depends on:
Reported: 2010-12-17 11:42 UTC by dext
Modified: 2011-06-16 11:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description dext 2010-12-17 11:42:29 UTC
After add folder to "ignored folders" list, folder is still visible, scanning project scan it, find in project search in it.
Comment 1 jeremyclarke 2011-04-15 14:47:13 UTC
Did you try quitting NetBeans and restarting the project? When I added ignored folders they weren't excluded from the open file window until I had restarted NB completely. I tried closing/opening the project but that wasn't enough. 

If this is your problem then this bug report should be renamed to "Ignored folders should work immediately" or "adding ignored folder should cause project rescan to account for changes". 

The current system, though functional in the end, seems broken when you are using it for the first time. My first instinct was to assume the feature was broken like you, and this is terrible usability.
Comment 2 dext 2011-04-15 14:59:50 UTC
Restart don't help. My friends use Netbeans 6.9.1 on Windows, and they don't need to restart IDE to "active" ignored folders.

Since I've reported this I got new PC, new Linux instalation, and Netbeans 7 RC2. Ignored folders still don't work for me.
Comment 3 Tomas Mysik 2011-06-03 10:21:54 UTC
Batch reassigning.
Comment 4 Tomas Mysik 2011-06-16 11:56:26 UTC
I cannot reproduce your problem. What I did exactly:

- have an exiting PHP project
- create a folder in it, directly underneath Source Files
- open Project Properties dialog, Ignored Folders, select the newly created folder
- OK

Project in Projects view is "reloaded" and the directory is not there anymore. However, one can still find this folder in Files view.

Are your steps different? Can you still reproduce? Or, could you please archive and attach your "nbproject" directory please? But first review the files and ensure there are no passwords and similar information there.

Thanks for reporting.

Product Version: NetBeans IDE Dev (Build 20110612-2300f9a47f86)
Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02
System: Linux version 2.6.38-8-generic running on amd64; UTF-8; cs_CZ (nb)