yuskam / catch-exception

Automatically exported from code.google.com/p/catch-exception
0 stars 0 forks source link

Missing Import-Package values in manifest #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When using CatchException in an OSGi-Context I run into NoClassDefFoundErrors 
for Class CatchException. These come from a missing Import-Package in the 
manifest, which does not allow to load the referenced class 
org.mockito.cglib.proxy.MethodInterceptor.

I re-built the manifest file using Bundlor 
(http://www.springsource.org/bundlor) and arrived at the following version:

Manifest-Version: 1.0
Bundle-Name: com.googlecode.catchexception
Import-Package: org.fest.assertions;resolution="optional",org.hamcrest
 ;version="1.3.0",org.mockito.cglib.proxy;version="1.8.5",org.mockito.
 exceptions.base;version="1.8.5",org.mockito.internal.creation.jmock;v
 ersion="1.8.5"
Bundle-ManifestVersion: 2
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-SymbolicName: com.googlecode.catchexception
Tool: Bundlor 1.0.0.RELEASE
Export-Package: com.googlecode.catchexception;version="1.0.4",com.goog
 lecode.catchexception.apis;version="1.0.4";uses:="org.fest.assertions
 ,org.hamcrest"
Bundle-Version: 1.0.4

Original issue reported on code.google.com by jebo0...@googlemail.com on 31 Aug 2012 at 7:04

GoogleCodeExporter commented 8 years ago
Hi!

Sorry, but I am not really familiar with OSGi bundles and testing of OSGi 
bundles.

Please provide a patch and ,equally important, a unit test that demonstrates 
the impact of the patch.

Cheers
Rod

Original comment by rwoo@gmx.de on 3 Nov 2013 at 6:47

GoogleCodeExporter commented 8 years ago
Won't fix because the current version of catch-exception will no longer be 
maintained.

Original comment by rwoo@gmx.de on 2 May 2014 at 10:32