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.
Summary: | Bundle.getEntry always returns null | ||
---|---|---|---|
Product: | platform | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Netigso | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tpavek |
Priority: | P2 | ||
Version: | 7.1 | ||
Hardware: | Other | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Possible fix - only for Netbinox, not for Felix right now |
Description
Jaroslav Tulach
2011-06-30 14:06:59 UTC
The test is here: http://netbeans.org/bugzilla/attachment.cgi?id=109169 Created attachment 114938 [details]
Possible fix - only for Netbinox, not for Felix right now
The problem is that only modules with public-packages are currently exported as OSGi bundles. If a module exports no packages, then its Bundle is not going to be available. We should probably add some resource detection via branding. E.g. JDev could say that each module with META-INF/extension.xml is supposed to have a bundle. The module that exports an entry needs to declare OpenIDE-Module-Public-Packages or Netigso-Export-Package ergonomics#93221508f753 |