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 165300 - Tricky to add new friend dep
Summary: Tricky to add new friend dep
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 16:44 UTC by Jesse Glick
Modified: 2009-05-19 07:32 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 Jesse Glick 2009-05-15 16:44:24 UTC
090513. Suppose you have module A in nb.org with some friends F1 and F2. Create module B (also in nb.org). Add B to A's
friends list. Optionally (re-)build A. Select B's Libraries node and ask to add a dep. A is not listed. Click "Show
Non-API Modules". Now A is listed, and if you add it, the dep is correct (normal spec-version dep, not impl dep).

If you restarted the IDE before trying to add the dep, you would have seen A without the checkbox being checked.

Whatever code caches the list of available dependencies should invalidate that cache after friend lists are changed.

I think P3 because it could be very confusing to new users of the NB module system, even though there are a couple of
workarounds; and since this is a quite basic and common use case.
Comment 1 rmichalsky 2009-05-18 15:22:08 UTC
core-main #ea96c0412ee2
Comment 2 Quality Engineering 2009-05-19 07:32:12 UTC
Integrated into 'main-golden', will be available in build *200905190201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ea96c0412ee2
User: Richard Michalsky <rmichalsky@netbeans.org>
Log: #165300: Add Module Dependencies dialog not updated when friend modules/public packages change