On Mon, Nov 12, 2012 at 11:21 AM, Charles Moulliard <[email protected]> wrote: > Hi, > > Under karaf 2.3.0, I have a strange import/export issue. > > The following package "javax.enterprise.inject" is well exported by bundle A > > Export-Package = > javax.enterprise.context;version=1.0.0, > javax.enterprise.inject;uses:="javax.enterprise.util,javax.enterprise.context";version=1.0.0, > javax.enterprise.util;version=1.0.0, > > But bundle B is not able to import it > > Import-Package = > javax.inject;version=1.0.0, > > Caused by: org.osgi.framework.BundleException: Unresolved constraint in > bundle org.jboss.weld.osgi.weld-osgi-core-integration [56]: Unable to > resolve 56.0: missing requirement [56.0] osgi.wiring.package; > (&(osgi.wiring.package=javax.inject)(version>=1.0.0)) >
One has javax.inject, the other has enterprise as middle package name. So they are not the same package name. > Is it a Felix known issue ? > > Regards, > > -- > Charles Moulliard > Apache Committer / Sr. Enterprise Architect (RedHat) > Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com > > -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
