Bug 714227 - Missing OSGi Dependency data
Summary: Missing OSGi Dependency data
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdata-java
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro Mathys
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-17 16:20 UTC by Nathanael Noblet
Modified: 2011-07-12 05:21 UTC (History)
2 users (show)

Fixed In Version: gdata-java-1.45.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-12 05:21:07 UTC
Type: ---


Attachments (Terms of Use)

Description Nathanael Noblet 2011-06-17 16:20:07 UTC
Description of problem:

I'm trying to build an eclipse plugin (eventually as a rpm once its possible) who does an import of com.google.gdata.util.common.base. However when building it fails to import the above. It seems the OSGi dependency / Export-Packages: is missing from MANIFEST. In other packages with this issue #fedora-java people said to look at httpdcomponents-client for a sample pom.xml patch that can be used to fix the issue. 

Thanks

Comment 1 Sandro Mathys 2011-06-30 20:30:26 UTC
My understanding of OSGi is really less than basics - so while I might have time to look into this tomorrow or next week, I can't guarantee to get it to work (nor do I have an idea how to test it). If you have a patch to propose, I'll happily accept it, though.

Comment 2 Nathanael Noblet 2011-07-01 00:47:23 UTC
Well I'm a noob to java packaging. I'm basically just trying to get some of the eclipse plugins I use most commonly packaged for Fedora. I only knew the OSGi info was missing because people on #fedora-java told me based on the errors. I am willing to learn and help, but just don't have the experience in this area yet. I'll help anyway I can, though this next few weeks will be super busy.

Comment 3 Sandro Mathys 2011-07-01 09:03:57 UTC
So, what I can do is taking the "Name" from the manifest and adding a "Export-Package" line with that name and (package-)version. If that's enough, fine. If it isn't I need either a patch for all manifest files or (preferred) this needs to be reported and fixed upstream.

What do you think? Is that enough for OSGi or is all the Bundle-* and Import-Packages necessary as well?

Comment 4 Fedora Update System 2011-07-01 12:11:36 UTC
gdata-java-1.45.0-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gdata-java-1.45.0-1.fc15

Comment 5 Fedora Update System 2011-07-01 18:58:20 UTC
Package gdata-java-1.45.0-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gdata-java-1.45.0-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/gdata-java-1.45.0-1.fc15
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-07-12 05:21:01 UTC
gdata-java-1.45.0-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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