Bug 530110 - easymock2.jar file is empty
Summary: easymock2.jar file is empty
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: easymock2
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Alexander Kurtakov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-21 15:28 UTC by Mary Ellen Foster
Modified: 2009-10-26 15:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-26 15:45:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposed patch (347 bytes, patch)
2009-10-21 15:35 UTC, Mary Ellen Foster
no flags Details | Diff

Description Mary Ellen Foster 2009-10-21 15:28:23 UTC
Description of problem:
The file /usr/share/java/easymock2-2.5.jar consists only of a manifest. :(

jar tvf /usr/share/java/easymock2-2.5.jar
     0 Tue Jan 01 00:00:00 GMT 1980 META-INF/
   391 Tue Jan 01 00:00:00 GMT 1980 META-INF/MANIFEST.MF

Here's the content of the manifest, which also doesn't look quite right (what are %bundleVendor and %bundleName?):

Manifest-Version: 1.0
Bundle-Vendor: %bundleVendor
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Name: %bundleName
Bundle-SymbolicName: org.easymock
Export-Package: org.easymock;version="2.4.0",org.easymock.internal;ver
 sion="2.4.0",org.easymock.internal.matchers;version="2.4.0"
Bundle-Version: 2.4.0.v20090202-0900
Bundle-ManifestVersion: 2


Version-Release number of selected component (if applicable):
easymock2-2.5-3.fc12.noarch

Comment 1 Mary Ellen Foster 2009-10-21 15:35:53 UTC
Created attachment 365532 [details]
Proposed patch

Here's a patch that fixes the jar file for me ...

Comment 2 Mary Ellen Foster 2009-10-21 15:59:17 UTC
One more weird thing about the manifest -- it has version="2.4.0" all over the place, while the easymock version seems to be 2.5 ... (I don't know what the OSGI stuff in the manifest is for, so this could be totally barking up the wrong tree)

Comment 3 Fedora Update System 2009-10-21 17:04:54 UTC
easymock2-2.5-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/easymock2-2.5-4.fc12

Comment 4 Alexander Kurtakov 2009-10-21 17:08:45 UTC
(In reply to comment #2)
> One more weird thing about the manifest -- it has version="2.4.0" all over the
> place, while the easymock version seems to be 2.5 ... (I don't know what the
> OSGI stuff in the manifest is for, so this could be totally barking up the
> wrong tree)  

Excuse my stupidity :).
I've fixed the empty jar problem. The osgi stuff is supposed to be this way due to hard versions requires in dependencies.

Comment 5 Mary Ellen Foster 2009-10-26 15:43:23 UTC
Yes, thanks, the jar file now looks good.

Comment 6 Alexander Kurtakov 2009-10-26 15:45:34 UTC
Closing.


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