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.
I just noticed that libs.bugtracking not only includes skeletons of four OSGi classes, but exports them to friends, apparently to prevent problems such as jira/src/org/netbeans/modules/jira/Jira.java:69: cannot access org.osgi.framework.BundleContext class file for org.osgi.framework.BundleContext not found public class Jira { (same for Bugzilla). We should not be bundling incomplete copies of OSGi APIs. A quick fix would be for libs.bugtracking, bugzilla, and jira modules to be friends of core.netigso and use its copy of OSGi APIs. Better would be to pick up an official copy of the latest OSGi framework skeleton JARs from somewhere (e.g. org.apache.felix:org.osgi.core:* & org.apache.felix:org.osgi.compendium:*), bundle these into a lib wrapper module, and make core.netigso use these as well (in which case it would need to omit org.osgi.** from felix.jar).
Should solve for 6.9 as part of OSGi compatibility effort.
http://www.osgi.org/Download/Release4V42 lets you download osgi.core.jar and osgi.cmpn.jar, which is probably the right place to get these, though Felix seems to have copied these sources verbatim into its source repo.
http://hg.netbeans.org/cdev/rev/a6c0956f6a74 the org.osgi.* packages are public in core.netigso so removed them from libs.bugtracking and added a new dependency to libs.jira, libs.bugzilla and libs.bugtracking. what would be the benefit of splitting felix.jar between a lib and the netigso module? closing as fixed for now
(In reply to comment #3) > added a new dependency to libs.jira, libs.bugzilla and libs.bugtracking. Probably not going to work until you add these as friends to core.netigso. > what would be the benefit of splitting felix.jar between a lib and the netigso > module? 1. It would be clear who is depending simply on OSGi interfaces, rather than Felix container classes. 2. We would not need to have core.netigso in the build unless someone is actually trying to run OSGi bundles. I filed bug #179470 to track this.
Integrated into 'main-golden', will be available in build *201001150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a6c0956f6a74 User: Tomas Stupka <tstupka@netbeans.org> Log: #179436 - Do not bundle dummy org.osgi.** classes