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 29027 - Ability of a module to publish packages of different module
Summary: Ability of a module to publish packages of different module
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 30161
Blocks:
  Show dependency tree
 
Reported: 2002-11-26 15:39 UTC by Jaroslav Tulach
Modified: 2008-12-23 08:37 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2002-11-26 15:39:28 UTC
As discussed in
http://www.netbeans.org/servlets/ReadMsg?msgId=412036&listName=nbdev
for the sake of upgradability (future
compatibility) it seems reasonable to allow a
module to "export" packages that it imported by
from other module.

Would be nice to make this enh. till 4.0 so editor
module can use it and does not need to overuse the
modules/ext mechanism.
Comment 1 Jesse Glick 2003-01-15 17:57:09 UTC
I am still queasy about this RFE as it complicates the semantic model
for how modules access one another's packages:

http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/classpath.html#public-packages

However I have a different idea. As part of issue #29914, I decided to
keep the list of automatic dependency upgrades done by NbInstaller in
a declarative XML file for easy editing. I think it may be feasible to
actually have this list composed from modules rather than all
hardcoded in core. (Solvable technical problems here, since the info
must be gotten while the module is still disabled...) Then solution #1
in the nbdev message would be unobjectionable.
Comment 2 Jesse Glick 2003-01-16 01:28:26 UTC
Prefer solution in issue #30161, q.v.
Comment 3 Marian Mirilovic 2003-07-28 15:47:59 UTC
verifying.