You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Tim Moloney <t....@verizon.net> on 2007/03/29 05:11:12 UTC

Dependencies for hibernate bundle?

I'm trying to use the hibernate bundle from the Felix commons and I'm 
getting the following.

Unsatisfied requirement(s):
---------------------------
   (&(package=com.mchange.v2.c3p0)(version>=0.0.0))
      hibernate bundle
   (&(package=javax.security.jacc)(version>=0.0.0))
      hibernate bundle
   (&(package=org.jboss.cache.lock)(version>=0.0.0))
      hibernate bundle
   (&(package=org.gjt.xpp)(version>=0.0.0))
      dom4j bundle
   (&(package=com.opensymphony.oscache.general)(version>=0.0.0))
      hibernate bundle
   (&(package=org.apache.tools.ant.types)(version>=0.0.0))
      hibernate bundle
   (&(package=org.apache.tools.ant.taskdefs)(version>=0.0.0))
      hibernate bundle
   (&(package=net.sf.hibernate.cache)(version>=0.0.0))
      ehcache bundle
   (&(package=org.xmlpull.v1)(version>=0.0.0))
      dom4j bundle
   (&(package=org.apache.tools.ant)(version>=0.0.0))
      hibernate bundle
   (&(package=org.jaxen)(version>=0.0.0))
      dom4j bundle
   (&(package=org.logicalcobwebs.proxool)(version>=0.0.0))
      hibernate bundle
   (&(package=com.opensymphony.oscache.base)(version>=0.0.0))
      hibernate bundle
   (&(package=org.logicalcobwebs.proxool.configuration)(version>=0.0.0))
      hibernate bundle
   (&(package=org.jaxen.pattern)(version>=0.0.0))
      dom4j bundle
   (&(package=org.jboss.cache)(version>=0.0.0))
      hibernate bundle
   (&(package=net.sf.swarmcache)(version>=0.0.0))
      hibernate bundle
   (&(package=org.jaxen.dom4j)(version>=0.0.0))
      dom4j bundle
   (&(package=org.jaxen.saxpath)(version>=0.0.0))
      dom4j bundle

Looking at the pom.xml files for hibernate, dom4j, and ehcache, I see 
that all of these packages have the "resolution:=optional" qualifier.  
Are they really optional?

Any tips on getting hibernate to work within Felix would be 
appreciated.  (Warning:  I'm a newbie to hyperjaxb2, hibernate, and JAXB 
but I'm trying to use them to use them with Felix.)

Tim



Re: Dependencies for hibernate bundle?

Posted by Tim Moloney <t....@verizon.net>.
Yes, it is OBR output.

It looks like we found a bug in my OBR patch.    It isn't setting the 
optional attribute in the require element correctly.

Thanks for the insight.  I'll start working on an updated OBR patch.

Tim


Richard S. Hall wrote:
> This is OBR output, correct? Are you looking at the bundle manifest or 
> the generated OBR xml? Make sure the OBR xml file also defines them as 
> optional.
>
> -> richard
>
> Tim Moloney wrote:
>> I'm trying to use the hibernate bundle from the Felix commons and I'm 
>> getting the following.
>>
>> Unsatisfied requirement(s):
>> ---------------------------
>>   (&(package=com.mchange.v2.c3p0)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=javax.security.jacc)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=org.jboss.cache.lock)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=org.gjt.xpp)(version>=0.0.0))
>>      dom4j bundle
>>   (&(package=com.opensymphony.oscache.general)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=org.apache.tools.ant.types)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=org.apache.tools.ant.taskdefs)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=net.sf.hibernate.cache)(version>=0.0.0))
>>      ehcache bundle
>>   (&(package=org.xmlpull.v1)(version>=0.0.0))
>>      dom4j bundle
>>   (&(package=org.apache.tools.ant)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=org.jaxen)(version>=0.0.0))
>>      dom4j bundle
>>   (&(package=org.logicalcobwebs.proxool)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=com.opensymphony.oscache.base)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=org.logicalcobwebs.proxool.configuration)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=org.jaxen.pattern)(version>=0.0.0))
>>      dom4j bundle
>>   (&(package=org.jboss.cache)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=net.sf.swarmcache)(version>=0.0.0))
>>      hibernate bundle
>>   (&(package=org.jaxen.dom4j)(version>=0.0.0))
>>      dom4j bundle
>>   (&(package=org.jaxen.saxpath)(version>=0.0.0))
>>      dom4j bundle
>>
>> Looking at the pom.xml files for hibernate, dom4j, and ehcache, I see 
>> that all of these packages have the "resolution:=optional" 
>> qualifier.  Are they really optional?
>>
>> Any tips on getting hibernate to work within Felix would be 
>> appreciated.  (Warning:  I'm a newbie to hyperjaxb2, hibernate, and 
>> JAXB but I'm trying to use them to use them with Felix.)
>>
>> Tim
>>
>>
>


Re: Dependencies for hibernate bundle?

Posted by "Richard S. Hall" <he...@ungoverned.org>.
This is OBR output, correct? Are you looking at the bundle manifest or 
the generated OBR xml? Make sure the OBR xml file also defines them as 
optional.

-> richard

Tim Moloney wrote:
> I'm trying to use the hibernate bundle from the Felix commons and I'm 
> getting the following.
>
> Unsatisfied requirement(s):
> ---------------------------
>   (&(package=com.mchange.v2.c3p0)(version>=0.0.0))
>      hibernate bundle
>   (&(package=javax.security.jacc)(version>=0.0.0))
>      hibernate bundle
>   (&(package=org.jboss.cache.lock)(version>=0.0.0))
>      hibernate bundle
>   (&(package=org.gjt.xpp)(version>=0.0.0))
>      dom4j bundle
>   (&(package=com.opensymphony.oscache.general)(version>=0.0.0))
>      hibernate bundle
>   (&(package=org.apache.tools.ant.types)(version>=0.0.0))
>      hibernate bundle
>   (&(package=org.apache.tools.ant.taskdefs)(version>=0.0.0))
>      hibernate bundle
>   (&(package=net.sf.hibernate.cache)(version>=0.0.0))
>      ehcache bundle
>   (&(package=org.xmlpull.v1)(version>=0.0.0))
>      dom4j bundle
>   (&(package=org.apache.tools.ant)(version>=0.0.0))
>      hibernate bundle
>   (&(package=org.jaxen)(version>=0.0.0))
>      dom4j bundle
>   (&(package=org.logicalcobwebs.proxool)(version>=0.0.0))
>      hibernate bundle
>   (&(package=com.opensymphony.oscache.base)(version>=0.0.0))
>      hibernate bundle
>   (&(package=org.logicalcobwebs.proxool.configuration)(version>=0.0.0))
>      hibernate bundle
>   (&(package=org.jaxen.pattern)(version>=0.0.0))
>      dom4j bundle
>   (&(package=org.jboss.cache)(version>=0.0.0))
>      hibernate bundle
>   (&(package=net.sf.swarmcache)(version>=0.0.0))
>      hibernate bundle
>   (&(package=org.jaxen.dom4j)(version>=0.0.0))
>      dom4j bundle
>   (&(package=org.jaxen.saxpath)(version>=0.0.0))
>      dom4j bundle
>
> Looking at the pom.xml files for hibernate, dom4j, and ehcache, I see 
> that all of these packages have the "resolution:=optional" qualifier.  
> Are they really optional?
>
> Any tips on getting hibernate to work within Felix would be 
> appreciated.  (Warning:  I'm a newbie to hyperjaxb2, hibernate, and 
> JAXB but I'm trying to use them to use them with Felix.)
>
> Tim
>
>