Bug 849138 - mandatory=core attribute in Export-Package header makes bundle unresolvable in Eclipse
Summary: mandatory=core attribute in Export-Package header makes bundle unresolvable i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lucene
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alexander Kurtakov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-17 12:02 UTC by Severin Gehwolf
Modified: 2013-03-01 09:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-01 09:24:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Severin Gehwolf 2012-08-17 12:02:35 UTC
Description of problem:
Any eclipse plug-in requiring org.apache.lucene.* packages fail to resolve due to mandatory=core attribute in Export-Package OSGi header.

Note that this is only an issue on F17 (F18, rawhide have fixed manifests)

Version-Release number of selected component (if applicable):
$ rpm -q lucene
lucene-2.9.4-8.fc17.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Create Eclipse plug-in with Import-Package: org.apache.lucene.index
2. Attempt to run application
3. Plug-in fails to resolve
  
Actual results:
Resolution errors.

Expected results:
imported lucene packages should resolve

Additional info:
Removing 'mandadory=core' from the metadata in the manifest fixes this.

Comment 1 Alexander Kurtakov 2013-03-01 09:05:53 UTC
Severin, is this fixed now? If not do you plan fixing it?

Comment 2 Alexander Kurtakov 2013-03-01 09:24:03 UTC
Closing as wontfix as there seem to not be no need for this and I would rather prefer not playing with F17 and cause other potential rebuilds. Also the problem doesn't exist on F18 so interested parties should move.


Note You need to log in before you can comment on or make changes to this bug.