Bug 833451 - [patch] add extra OSGI information to manifest
Summary: [patch] add extra OSGI information to manifest
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hibernate-jpa-2.0-api
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Goldmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-19 13:35 UTC by Gerard Ryan
Modified: 2012-06-28 03:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-28 03:28:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Add OSGI info to MANIFEST.MF (3.42 KB, patch)
2012-06-19 13:35 UTC, Gerard Ryan
no flags Details | Diff

Description Gerard Ryan 2012-06-19 13:35:37 UTC
Created attachment 592948 [details]
Add OSGI info to MANIFEST.MF

Description of problem:
I'm building eclipse-wtp-jpa, and it needs javax.persistence to be exported. geronimo-jpa exports it, but doesn't have the necessary classes.

Description of patch:
Add OSGI info to MANIFEST.MF
    
    Eclipse plugins, such as eclipse-wtp-jpa, need it to be exported in the
    MANIFEST.MF. This change adds some of this information to that file, by
    adding the relevant lines to the pom.xml file, where the manifest is
    generated from.
    
    Currently being exported are javax.persistence and javax.persistence.spi.
    I don't know if javax.persistence.metamodel or javax.persistence.criteria
    should be exported also, but they don't seem to be needed by anything so
    I've left them out. javax.persistence.spi isn't necessarily needed either,
    but geronimo-jpa exports it, so I just went by that.

Comment 1 Marek Goldmann 2012-06-19 13:54:10 UTC
Thanks, the patch was pushed to F17 and Rawhide.

Comment 2 Fedora Update System 2012-06-19 14:27:55 UTC
hibernate-jpa-2.0-api-1.0.1-6.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/hibernate-jpa-2.0-api-1.0.1-6.fc17

Comment 3 Fedora Update System 2012-06-20 00:32:26 UTC
Package hibernate-jpa-2.0-api-1.0.1-6.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hibernate-jpa-2.0-api-1.0.1-6.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9689/hibernate-jpa-2.0-api-1.0.1-6.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-06-28 03:28:43 UTC
hibernate-jpa-2.0-api-1.0.1-6.fc17 has been pushed to the Fedora 17 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.