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.
I'm using NetBeans with Clear Case versioning system. Unfortunately Clear Case works in such a way that it creates temporary directory structure on local filesystem. This directory structure is removed after Clear Case use (we can call it Clear Case session). I have several directories in my NetBeans Project inside this temporary directory structure. If I start NetBeans when temporary directory structure is already created, no problem occurs. If I run NetBeans when temporary directory structure does not exist - of course, project directories inside non-existing directory structure are not present in Projects tab. The thing is that when I run NetBeans next time, with temporary directory structure created (containing all project folders) I expect that project folders would be refreshed and once again added into Project tab, but they are not. Simple reproduction case - create C++ project with existing sources in directory test1. Add test2 folder with foo.c file as project folder. Quit NB. Rename test2 folder to test3 or remove it from filesystem. Start NB - test2 is naturally missing in project folders. Quit NB. Rename test3 back to test2, or recreate test2 directory once again. Run NB again - test2 (valid project directory) still does not appear in Project tab although it exists in filesystem.
rising priority, because it breaks functionality for enterprise users
Yes, looks like refreshing is not correct/complete. When NB comes up it is supposed to validate all file in project and update tree to reflect changes on disk.
Found and fixed one problem. If a folder was deleted (or renamed), the folder with the original name was not correctly removed from the project files. It was a regression caused by some remote changes. Should be fixed now. changeset: 186754:0971419897c3 user: Thomas Preisler <thp@netbeans.org> date: Wed Jan 19 16:44:24 2011 -0800 summary: #194221 - Project source folders are not automatically refreshed in Projects tab changeset: 186755:2eed528032f5 tag: tip user: Thomas Preisler <thp@netbeans.org> date: Wed Jan 19 16:45:40 2011 -0800 summary: #194221 - Project source folders are not automatically refreshed in Projects tab
Integrated into 'main-golden', will be available in build *201101220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0971419897c3 User: Thomas Preisler <thp@netbeans.org> Log: #194221 - Project source folders are not automatically refreshed in Projects tab
Hi, I tested the new development release where this bug should be fixed, but unfortunately, behavior is the same as before fix. Reopening... Andrej
Please provide the build number you used for testing.
I used latest development build "netbeans-dev-201102080000".
Sorry, I can't reproduce. Below are the steps I try. Please try and follow them and see if you can reproduce the bug. The bug could be caused by a slightly different series of steps so please try and follow my steps exactly. Also please try the most recent build. You are on Linux, right? 1) Create Project with existing Sources and choose the version that puts the created project inside the existing project. 2) Close the IDE 3) In a terminal window create a folder called test and a file called test.cc in that folder. 4) Open IDE. Notice the folder test and file test.cc is present in the project 5) Open Project properties and click OK (this will save updated configuration) 6) Close IDE 7) Remove test directory from a terminal window 8) Open IDE and notice test is no longer in project view. 10) Open Project properties and click OK (this will save updated configuration) 11) Close IDE 12) In a terminal window re-create the folder test and a file called test.cc in that folder. 13) Open IDE. Notice the folder test and file test.cc are again present in the project view. You can experiment with not doing step 5) and/or 10) but I see the same (correct) result. QA: can you reproduce this bug?
waiting for reply....