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 65565

Summary: Clarify friend dependency in UI
Product: apisupport Reporter: Rochelle Raccah <raccah>
Component: ProjectAssignee: Martin Kozeny <mkozeny>
Status: NEW ---    
Severity: blocker Keywords: UI
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Rochelle Raccah 2005-09-30 22:16:17 UTC
1) It is not clear (from the ui) whether a friend module must be added at both
ends - the providing module - export to and the using module - libraries.  I
think the answer is yes, it does.  But sometimes, the library is not shown in
the chooser on the using module side and I'm not sure why.  So then I wondered
whether it was really required or not.

2) Would it be possible to have a browse button on the export side to allow
choices of a module instead of typing in the module package-like name?  At least
to allow a browse choice from other modules in the same suite?
Comment 1 Martin Krauskopf 2005-10-01 08:31:40 UTC
re 1) yes, as you said,  you have to:
 a) export package from (e.g.) module1 to module2 (friend), in module1
    properties
 b) add module1 (which should be boldfaced for module1 since it offers API
    for it) in module2 props

re 2) see issue 63527

> But sometimes, the library is not shown in
I should be. If not it's a bug.
Comment 2 Rochelle Raccah 2005-10-03 19:08:57 UTC
Thanks, Martin.

So part 2 is covered by the other issue.

This issue can remain an enhancement to make the ui clearer for 1 or to 
automatically handle the second side.

I will file the problem of the library missing when I have a reproducible 
case.  Note that I have seen this behavior several times, I'm just not sure 
when I see it and when I don't.
Comment 3 Jesse Glick 2005-10-03 23:05:54 UTC
Deferring unless there are some concrete suggestions as to what to change.