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 73768 - Show also non-public packages for Implementation dependency
Summary: Show also non-public packages for Implementation dependency
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2006-03-20 16:02 UTC by Martin Krauskopf
Modified: 2006-11-24 10:51 UTC (History)
1 user (show)

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 Martin Krauskopf 2006-03-20 16:02:16 UTC
When there is an implementation dependency on some module the user is not able
to see all packages which may be used from that module. Since the list under
"Include API Packages in  Classpath" shows only public/friend packages. So for
implementation dependency the list is often empty.
Does it sound reasonable?
If yes, then also the label should be changed to "Include Packages in
Classpath", i.e. without API, since you always see the packages.
Comment 1 Jesse Glick 2006-03-20 16:37:57 UTC
I guess the list should show only public packages normally, but if impl dep is
selected, show all packages.
Comment 2 Martin Krauskopf 2006-08-10 10:36:36 UTC
This is often confusing. TM -> 5.0u2.
Comment 3 Martin Krauskopf 2006-11-22 14:53:52 UTC
test/unit/UtilTest.java; 1.21 -> 1.22;
Util.java; 1.39 -> 1.40;
ui/customizer/Bundle.properties; 1.79 -> 1.80;
ui/customizer/EditDependencyPanel.java; 1.22 -> 1.23;
ui/customizer/SingleModuleProperties.java; 1.61 -> 1.62;
universe/AbstractEntryWithSources.java; 1.8 -> 1.9;
universe/BinaryEntry.java; 1.9 -> 1.10;
universe/ModuleEntry.java; 1.10 -> 1.11;
Comment 4 pzajac 2006-11-23 16:22:36 UTC
Partially fixed. Yes  private packages are listed in package list when you
select implementation dependency. IMHO user expects that the packages will be
selected if you select implementation dependency.  
Comment 5 Martin Krauskopf 2006-11-24 10:51:27 UTC
They are included by default when you add a new dependency. So also when you
then switch to implementation dependency. So they are not checked only on user's
purpose. But probably does not make sense to have implementation dependency
without compile dependency.

ui/customizer/EditDependencyPanel.java 1.24 -> 1.25;