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 180077 - Create NBM fails for Module with OSGi metadata
Summary: Create NBM fails for Module with OSGi metadata
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 181025
Blocks:
  Show dependency tree
 
Reported: 2010-02-01 05:39 UTC by Antonin Nebuzelsky
Modified: 2010-03-03 14:07 UTC (History)
1 user (show)

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 Antonin Nebuzelsky 2010-02-01 05:39:12 UTC
Several issues with the NetBeans module with OSGi metadata.

At this moment Generate OSGi Bundle option in the module's project wizard only seems to add three OSGi libraries as dependencies and generates a few OSGi specific lines in manifest.

Building the module does not produce OSGi bundle for me.

Popup menu on the module contains action Create NBM which fails. Maybe some other actions in the popup do not make sense.

There is no Bundle Activator created in the module.
Comment 1 Jaroslav Tulach 2010-02-01 08:37:54 UTC
I just tried to generate new standalone bundle, checked the OSGi Metadata checkbox, verified the manifest is OSGi-like, generated Module Install, printed something in start/stop method. Generated an action, printed something when it is invoked. Then I executed everything and everything worked as expected. Closing.
Comment 2 Antonin Nebuzelsky 2010-02-03 04:48:21 UTC
As discussed offline reopening as P2 with a changed subject.
Comment 3 Jaroslav Tulach 2010-02-03 05:56:32 UTC
core-main#4aae5329e4f1
Comment 4 Quality Engineering 2010-02-03 21:43:15 UTC
Integrated into 'main-golden', will be available in build *201002040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4aae5329e4f1
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #180077: MakeNBM substitutes missing OpenIDE-Module tag with Bundle-SymbolicName