Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Provide OSGi metadata in junit.jar manifest file
https://bugzilla.redhat.com/show_bug.cgi?id=784935
Summary: Provide OSGi metadata in junit.jar manifest file Product: Fedora Version: rawhide Platform: All OS/Version: Linux Status: NEW Severity: high Priority: high Component: junit AssignedTo: sochotni@redhat.com ReportedBy: rgrunber@redhat.com QAContact: extras-qa@fedoraproject.org CC: sochotni@redhat.com, java-sig-commits@lists.fedoraproject.org Classification: Fedora Story Points: --- Type: --- Regression: --- Mount Type: --- Documentation: ---
It would be nice if the latest junit package provided OSGi metadata in the manifest of the junit.jar . This change would allow a consumer (eclipse) to simplify its build process which would allow a consumer of eclipse jars (tycho) to properly process dependencies.
This change should not affect other consumers of the jar that happen to also require certain OSGi metadata as they would already be injecting their own attributes. (In fact it should ease their situation as well). As for consumers of the jar who do not depend on any of the OSGi metadata, the attributes being added would be ignored.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=784935
--- Comment #1 from Roland Grunberg rgrunber@redhat.com 2012-01-26 13:08:35 EST --- Created attachment 557717 --> https://bugzilla.redhat.com/attachment.cgi?id=557717 Patch
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=784935
Alexander Kurtakov akurtako@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |akurtako@redhat.com
--- Comment #2 from Alexander Kurtakov akurtako@redhat.com 2012-01-27 05:08:20 EST --- (In reply to comment #1)
Created attachment 557717 [details] Patch
Roland, this is a workaround and while it's ok for now this kind of problems bite us sooner or later. Please work on fixing the junit buildsystem upstream to produce the osgi MANIFEST.MF as part of the build system itself. One option is to use somekind of manifest.mf.in file to process it at build time to put correct values, another one is to use smth like https://admin.fedoraproject.org/pkgdb/acls/name/OSGi-bundle-ant-task. Please stick to things available in fedora already so we don't have to care for more packages just because of that.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=784935
Tomas Radej tradej@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |RAWHIDE Last Closed| |2012-01-31 09:11:19
--- Comment #3 from Tomas Radej tradej@redhat.com 2012-01-31 09:11:19 EST --- Patch is applied, expect the new version to be in rawhide soon.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=784935
Tomas Radej tradej@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ASSIGNED Resolution|RAWHIDE | AssignedTo|sochotni@redhat.com |rgrunber@redhat.com Keywords| |Reopened
--- Comment #4 from Tomas Radej tradej@redhat.com 2012-01-31 09:14:08 EST --- Also, please sort this change with upstream.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=784935
--- Comment #5 from Roland Grunberg rgrunber@redhat.com 2012-02-06 11:41:16 EST --- The work to make junit an OSGi bundle has been discussed for some time [1] and is currently awating approval [2] to be merged into junit upstream. The library used, bndlib, is in fedora (aqute-bndlib).
[1] https://github.com/KentBeck/junit/issues/212 [2] https://github.com/KentBeck/junit/pull/368
https://bugzilla.redhat.com/show_bug.cgi?id=784935
--- Comment #6 from Roland Grunberg rgrunber@redhat.com --- Upstream seems to have the ability to build with maven, so the necessary manifest attributes can be added there. This is being proposed in https://github.com/KentBeck/junit/pull/464/ .
https://bugzilla.redhat.com/show_bug.cgi?id=784935
Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|rgrunber@redhat.com |mizdebsk@redhat.com
--- Comment #8 from Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com --- This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
https://bugzilla.redhat.com/show_bug.cgi?id=784935
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Version|19 |rawhide Resolution|--- |RAWHIDE Last Closed|2012-01-31 09:11:19 |2014-04-29 01:36:08
java-sig-commits@lists.fedoraproject.org