Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 592948 Details for
Bug 833451
[patch] add extra OSGI information to manifest
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add OSGI info to MANIFEST.MF
0001-Add-OSGI-info-to-MANIFEST.MF.patch (text/plain), 3.42 KB, created by
Gerard Ryan
on 2012-06-19 13:35:37 UTC
(
hide
)
Description:
Add OSGI info to MANIFEST.MF
Filename:
MIME Type:
Creator:
Gerard Ryan
Created:
2012-06-19 13:35:37 UTC
Size:
3.42 KB
patch
obsolete
>From b1931098571578003106c8d4575a1f3790ba0f6e Mon Sep 17 00:00:00 2001 >From: Gerard Ryan <gerard@ryan.lt> >Date: Tue, 19 Jun 2012 14:14:04 +0100 >Subject: [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. >--- > hibernate-jpa-2.0-api-1.0.1.Final-osgi-manifest.patch | 13 +++++++++++++ > hibernate-jpa-2.0-api.spec | 7 ++++++- > 2 files changed, 19 insertions(+), 1 deletion(-) > create mode 100644 hibernate-jpa-2.0-api-1.0.1.Final-osgi-manifest.patch > >diff --git a/hibernate-jpa-2.0-api-1.0.1.Final-osgi-manifest.patch b/hibernate-jpa-2.0-api-1.0.1.Final-osgi-manifest.patch >new file mode 100644 >index 0000000..440d928 >--- /dev/null >+++ b/hibernate-jpa-2.0-api-1.0.1.Final-osgi-manifest.patch >@@ -0,0 +1,13 @@ >+--- hibernate-jpa-2.0-api-1.0.1.Final/pom.xml.orig 2011-06-15 03:35:58.602491000 +0100 >++++ hibernate-jpa-2.0-api-1.0.1.Final/pom.xml 2012-06-19 13:50:00.920020067 +0100 >+@@ -127,6 +127,10 @@ >+ <Implementation-Version>${pom.version}</Implementation-Version> >+ <Implementation-Vendor>hibernate.org</Implementation-Vendor> >+ <Implementation-Title>JPA API</Implementation-Title> >++ <Bundle-Name>hibernate-jpa-2.0-api</Bundle-Name> >++ <Bundle-SymbolicName>org.hibernate.javax.persistence</Bundle-SymbolicName> >++ <Export-Package>javax.persistence, javax.persistence.spi</Export-Package> >++ <Bundle-Version>${pom.version}</Bundle-Version> >+ </manifestEntries> >+ </archive> >+ </configuration> >diff --git a/hibernate-jpa-2.0-api.spec b/hibernate-jpa-2.0-api.spec >index 4a839f1..3858e7f 100644 >--- a/hibernate-jpa-2.0-api.spec >+++ b/hibernate-jpa-2.0-api.spec >@@ -3,7 +3,7 @@ > > Name: hibernate-jpa-2.0-api > Version: 1.0.1 >-Release: 5%{?dist} >+Release: 6%{?dist} > Summary: Java Persistence 2.0 (JSR 317) API > > Group: Development/Libraries >@@ -14,6 +14,7 @@ URL: http://www.hibernate.org/ > # tar -zcvf hibernate-jpa-2.0-api-1.0.1.Final.tar.gz hibernate-jpa-2.0-api-1.0.1.Final > Source0: %{name}-%{namedversion}.tar.gz > Patch0: %{name}-%{namedversion}-encoding.patch >+Patch1: %{name}-%{namedversion}-osgi-manifest.patch > > BuildArch: noarch > >@@ -47,6 +48,7 @@ This package contains the API documentation for %{name}. > %prep > %setup -q -n %{name}-%{namedversion} > %patch0 -p1 >+%patch1 -p1 > > %build > mvn-rpmbuild install javadoc:aggregate >@@ -77,6 +79,9 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom > %doc license.txt > > %changelog >+* Tue Jun 19 2012 Gerard Ryan <galileo@fedoraproject.org> 1.0.1-6 >+- Add OSGI info to MANIFEST.MF >+ > * Fri Mar 16 2012 Marek Goldmann <mgoldman@redhat.com> 1.0.1-5 > - Relocated jars to _javadir > - Added javax.persistence:persistence-api POM mapping >-- >1.7.10.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 833451
: 592948