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 213477 - Version properties does not work as expected for OSGi modules
Summary: Version properties does not work as expected for OSGi modules
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 213478 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-04 06:58 UTC by mienamoo
Modified: 2012-06-07 06:19 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 mienamoo 2012-06-04 06:58:27 UTC
NetBeans build 201205300001
JDK 7u3 32-bit

While running through the OSGi test spec [1], I created a module with OSGi bundle. When I got to the project customiser test, I changed both the specification and implementation versions. And the changes were reflected correctly in the manifest file. But it seems that the settings dialog is not populated correctly when opened a second time. Whatever was entered as the specification version before, will be shown as the implementation version as well when the dialog is next opened. And if the "Append Implementation Versions Automatically" checkbox is checked before clicking OK, the check box is disabled when the settings dialog is displayed again.

[1] http://wiki.netbeans.org/TS_69_Apisupport_OSGI

This behaviour is quite different from a module without OSGi support.
Comment 1 Jesse Glick 2012-06-04 20:01:28 UTC
"Implementation Version" and "Append Implementation Versions Automatically" make no sense for OSGi bundles and ought to be disabled.
Comment 2 Jesse Glick 2012-06-04 20:23:54 UTC
core-main #80a4313e984f
Comment 3 Jesse Glick 2012-06-04 20:24:42 UTC
*** Bug 213478 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2012-06-06 05:54:17 UTC
Integrated into 'main-golden', will be available in build *201206060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/80a4313e984f
User: Jesse Glick <jglick@netbeans.org>
Log: #213477: Version properties does not work as expected for OSGi modules
Comment 5 mienamoo 2012-06-07 06:19:10 UTC
Verified with build 201206060001.