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 can be reproduced in both Projects and Files view: 1) Add a CVS filesystem via Versioning Manager 2) Open a project on that CVS filesystem 3) Create an empty folder outside of the IDE somewhere in the CVS filesystem 4) In the IDE do CVS -> Refresh on the parent folder. 5) The new folder will appear as [Local] 6) Remove the folder outside of the IDE 7) In the IDE do CVS -> Refresh on the parent folder. 8) BUG: The folder is still there.
(This is one part of defect #42267. The folder in fact does not exist and therefore there are no CVS actions on it.)
1. I cannot reproduce this in the Files tab. Just tried in dev-040505, and in step 8 the new folder was correctly gone. 2. I am not sure exactly how you would see it in the Projects tab (what is the parent folder you refresh in the GUI?). 3. If it occurs in the Files tab, it very likely occurs in the All Files tab, meaning it has nothing to do with the project system; probably a VCS bug.
1) I have dev IDE from 040428. I'll check the behavior in recent dev build. 2) I've created "test" folder under com.myapp. Therefore I've refreshed "com.myapp" node. This should work shouldn't it? 3) The nature of the bug does not look like a bug in VCS modules.
Well, it really does not work. I've tested current trunk build and also build #200405051800. The behavior is still the same, removed folder is not removed from the view. Perhaps it's important that it's a J2SE project, not a special NetBeans project. It's definitely a bug outside of VCS modules. Even Files view gets out of synch with Projects view. When I create test2 folder and do refresh on com.myapp, com.myapp.test2 node is added in Project view, but (the removed) com.myapp.test stays there, while in Files view "test" folder is correctly replaced with "test2". Files view is corrected when there is a further change (like a file is added), while the Projects view is not.
Why didn't you say to begin with that it was specific to the Projects tab (i.e. the package view)? You initially said it could be reproduced in both the Projects and Files tabs. Assigning to Petr for evaluation; probably some PackageViewChildren issue, I don't know.
Well, it can be reproduced in Files view as well by following the 8 steps that I've described. But it seems that the behavior in Projects tab is even worse according to my last observations.
I cannot reproduce any such behavior in the Files tab so please provide more explicit instructions.
I tried to reproduce in the latest build and I did not succeed. It works for both files view and projects view. The fact that it is very hard to find proper node in projects view where to click to refresh is sad. However the refresh seems to work well. Please notice that I usually used refresh in the popup menu of the node not the CVS submenu. The item was not available in the CVS popup. But anyway I would rather search for problems in the CVS file system than in the project views. If you still instist that it does not work please try in all files. If you can reproduce it there it is very likely CVS problem.
Incorrect status.
Correcting.
This looks like a problem of how refresh of FileObjects is performed after Refresh command is executed. With simple "Refresh Folder" action it works O.K., but not with CVS -> Refresh. Since this works O.K. in 3.6, it's a regression somewhere. Maybe that the interaction with MasterFS is causing problems. Reopening (the bug is still there, at least for me) and assigning to vcscore module for now, since the view of VCS filesystems is impacted. I'll try to explore this deeper when I have some time...
Check also File -> Refresh All Files.
Well, it works for me in current build. I do not know when it started to work, but either there was something bad with my build or the problem was fixed as a side effect of another fix (maybe #43435?). Anyway, it works now.
Verified.