Hi,

I've got a problem using Hibernate as packaged by the folks at Springsource. I need to use the Hibernate Annotations fragment, which has the following Import-Package dependency:

org.slf4j;version="[1.3.1, 2.0.0)"

The Hibernate bundle specifies the following Import-Package dependency:

org.slf4j;version="[1.5.6, 2.0.0)"

Deploying the fragment fails because:

DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf4j from com.springsource.org.hibernate

Looking at the source code, I'm not convinced the range check on line 437 of FelixResolver is correct - surely it should be checking that the import range specified by the addition is satisfied by the import range specified by the main bundle, rather than checking the ranges are identical?

If that's the case, I have a patch here which I'll add to a bugzilla issue...

Phil.




This e-mail (and each attachment) is confidential. If you have received this 
email in error please delete it and notify us immediately.  Views or opinions 
in this email do not necessarily represent those of Miniweb Technologies 
Limited (registered in England with number 5897305 ) or its subsidiaries. No 
representation is given nor liability accepted for the accuracy or completeness 
of any information included in this email.

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

Reply via email to