Hello.

I've wrapped a JAR using BND. This jar uses another package present in my
Felix installation, but it refuses to start. Here is the info:

Capabilities of the needed package (org.objectweb.asm):

-> inspect package capability 27          
org.glassfish.external.asm-all-repackaged [27] exports packages:
----------------------------------------------------------------
org.objectweb.asm; version=3.1.0
org.objectweb.asm.commons; version=3.1.0
org.objectweb.asm.signature; version=3.1.0
org.objectweb.asm.tree; version=3.1.0

Trying to start the offending package:
-> start 256
org.osgi.framework.BundleException: Unresolved constraint in bundle
reflectasm-1.0 [256]: Unable to resolve 256.0: missing requirement [256.0]
package; (&(package=org.objectweb.asm)(version>=3.1.0))

Headers of the offending package:
-> headers 256

reflectasm-1.0 (256)
--------------------
Bnd-LastModified = 1292343495549
Bundle-ManifestVersion = 2
Bundle-Name = reflectasm-1.0
Bundle-SymbolicName = reflectasm-1.0
Bundle-Version = 1.0
Created-By = 1.6.0_22 (Apple Inc.)
Export-Package = com.esotericsoftware.reflectasm;uses:="org.objectweb.asm"
Import-Package =
com.esotericsoftware.reflectasm,org.objectweb.asm;version="3.1"
Manifest-Version = 1.0
Tool = Bnd-0.0.384
-> 

Using "version" or not doesn't make any difference.

Am I missing something? Thanks in advance!
-- 
View this message in context: 
http://old.nabble.com/Strange-behavior-tp30456596p30456596.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to