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.
040527. Usually CVS folders are hidden in the package view. But sometimes (after CVS updates that touch the metadata?) they appear there (only in some places).
i think i found a way to reproduce the bug. at least, at my place i can reproduce it like i will describe: i create a branch on a project, then update the project using the newly created branch. i get to see the CVS folders.
subcomp->projects
*** Issue 46603 has been marked as a duplicate of this issue. ***
Observed in 040726 after removing one file and adding one file in a package (using CVS commands from IDE).
Tried to make PackageViewChildren to consult VisibilityQuery wherever necessary. Should be fixed. Please reopen when it happens again. Checking in project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java; /cvs/java/project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java,v <-- PackageViewChildren.javanew revision: 1.25; previous revision: 1.24 done Processing log script arguments... More commits to come... Checking in project/test/unit/src/org/netbeans/spi/java/project/support/ui/PackageViewTest.java; /cvs/java/project/test/unit/src/org/netbeans/spi/java/project/support/ui/PackageViewTest.java,v <-- PackageViewTest.java new revision: 1.11; previous revision: 1.10 done
This seems to happen very consistenety under 4.0. I don't know what the priority of it should be, but it is kind of annoying when you have several packages under Source code control and do an update on the root.
OK if it happens consstently to you please let me know some exact steps how to reproduce it. And also please let me know which build do you use. Thanks.
Emphasis for rtrask: as far as we know this is fixed in trunk (nightly) builds. If you see it in a nightly build, we need to know that, but every piece of information that might help reproduce it is needed, since no one else has seen it that I am aware of. Petr was this fixed in the beta build or not? If not, and rtrask is using the beta, should assume it is fixed in the trunk unless we hear otherwise.
*** Issue 47961 has been marked as a duplicate of this issue. ***
The rtask does not seem to respond. Assume he was using the beta 1 ( which does not containt the fix). None else reports that problem. If it happens in trunk build, please reopen with detailed steps to reproduce.
*** Issue 48261 has been marked as a duplicate of this issue. ***
This issue still occurs in Beta 2, but only for more contrived situations. I will post a follow-up comment with details within the next hour or so.
BACKGROUND: I discovered this issue after using the CVS Edit command, which creates a subdirectory named 'Base' under each CVS directory within the local source tree. When I performed a subsequent CVS 'Update' from within NetBeans, packages with suffixes of ".CVS.Base" appeared in the 'Projects' window. PLATFORM: Linux (Fedora Core 2), Java 5.0 (final release), GNOME. BUILDS TESTED: NetBeans 4.0 Beta 2; NetBeans 4.0 Daily Build 2004. (Occurred in both.) CVS CONFIGURATION: Pserver; built-in CVS client. (Note that I tested 'command line CVS client' as well, with the same end result.) STEPS TO REPRODUCE: Create an arbitrary directory under a CVS folder in your local source tree, and then perform a CVS Update from within NetBeans. Additional packages with a suffix of ".CVS.xxx" (where 'xxx' is the name of the subdirectories you created) will appear in the list of packages in the 'Projects' window. Some things to note: * If your project is open while you create these new directories, NetBeans will automatically add them to the list of packages after you reactivate the NetBeans window. Likewise, if you remove these directories while the project is open, then will disappear. * If these directories are created while the associated project is closed, and you then open the project in NetBeans, these bogus packages will not appear until a CVS Update is performed.
Relative to my prior note, the 4.0 daily build I used was 200411072021.
Petr please evaluate.
I can easily and consistently reproduce this under RC2 (Build 200412011810). 1. Open NB in Projects view. 2. Select "souce" node in open project. 3. Do a global update (Versionning > CVS > Update) on this node. 4. After update completes, the project tree will refresh, showing "CVS.Base" gray folders for some packages. This happens regardless of whether any files were actually updated from CVS. A more annoying side-effect of this is the fact that files from these CVS folders show up in file search results, so if you look for MyClass class, you might unknowingly start editing the version that is in your CVS.Base folder, not the main source folder.
*** Issue 52458 has been marked as a duplicate of this issue. ***
Yes, it may happen that there are some folders under CVS dirs visdible. The impl. of PackageViewChildren currently does not check the whole path to root for visibility. (Because of performance) I see that I will have to check. Hopefully it won't slow down the Package views too much.
*** Issue 56196 has been marked as a duplicate of this issue. ***
Should be fixed now see the added tests. Checking in java/project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java; /cvs/java/project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java,v <-- PackageViewChildren.javanew revision: 1.57; previous revision: 1.56 done Checking in java/project/test/unit/src/org/netbeans/spi/java/project/support/ui/PackageViewTest.java; /cvs/java/project/test/unit/src/org/netbeans/spi/java/project/support/ui/PackageViewTest.java,v <-- PackageViewTest.java new revision: 1.24; previous revision: 1.23 done
*** Issue 57240 has been marked as a duplicate of this issue. ***