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.
This may be CND specific. Somewhere along the road, some of my projects ended up with duplicate logical folders, such as the source root or "Important Files". To fix this I ended up editing nbproject/configurations.xml to remove the duplicates. If I followed this procedure: - close the project - edit nbproject/configurations.xml; save - reopen the project in NB Then NB recognized the change. However, if I did not close the project, then NB would ask to reload, but clicking "yes" did not change the list of folders. If then I close and reopen the project, the list of folders becomes correct. Do this: - edit nbproject/configurations.xml, duplicate Important Folders. Mine looks like this: <logicalFolder name="ExternalFiles" displayName="Important Files" projectFiles="false" kind="IMPORTANT_FILES_FOLDER"> <itemPath>gxf.nb-Makefile.mk</itemPath> <itemPath>gxf.nb-Makefile.mk</itemPath> </logicalFolder> - open the project, note the presence of two Important Files folders. - edit nbproject/configurations.xml, remove the duplicate folder. - NB prompts to reload the project, but the number of folders does not change. - close and reopen the project and the number of folders is now correct. Personally, I have seen issues like this for years with NB: the lack of synchronization with the state of NB projects in memory vs on disk. This one was easier than most to describe.
fixed, change set: http://hg.netbeans.org/cnd-main/rev/116cab5a35d3
Integrated into 'main-silver', will be available in build *201606180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/116cab5a35d3 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #250313 IDE does not reflect external changes in project, even though it reloads it.