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 65566 - CVS.Base should not be included in packages
Summary: CVS.Base should not be included in packages
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-09-30 22:19 UTC by Rochelle Raccah
Modified: 2006-02-14 17:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rochelle Raccah 2005-09-30 22:19:09 UTC
When you cvs edit a file, a backup copy is kept in CVS/Base.  This is shown as a
possible public package in the API Versioning/Public Packages list.  It should
be excluded.
Comment 1 Martin Krauskopf 2005-10-01 08:22:04 UTC
The fact is that *.CVS.Base is a correct package name. But other fact is that we
should stay in sync with Package Comboboxes. Currently we add all non-empty
directories where at least one CorrectJavaIdentifier.[java|class] (depends on
source vs. binary) file resides. I'll try to utilize
o.n.spi.java.project.support.ui.PackageView somehow.
Comment 2 Jesse Glick 2005-10-03 23:13:02 UTC
I think this was fixed recently for PackageView or something else. Need to use
VisibilityQuery to exclude CVS/ subdirs. Of course if we can just use
PackageView directly then we should - it is designed for this purpose.
Comment 3 Martin Krauskopf 2005-11-08 12:13:07 UTC
I think we can't use PackageView in this case. Since we are also reading
packages from libraries. Also there is a generic method for parsing packges from
both, binaries and sources. I'll use VisibilityQuery, thanks for the tip.
Comment 4 Martin Krauskopf 2005-11-08 13:19:36 UTC
Fixed.

Checking in ui/customizer/SingleModuleProperties.java; 1.41 -> 1.42;
Checking in test/unit/ui/customizer/SingleModulePropertiesTest.java; 1.28 -> 1.29;
Comment 5 pzajac 2005-11-28 17:24:04 UTC
verified