I think this might be a problem, but I have no idea why the tests pass. IIRC, the seperator is a , not a ; which makes both versions 2.0.4 in the manifest
the result in the jcr base manifest is Export-Package: org.apache.sling.jcr.base;uses:="javax.jcr,org.osgi.se rvice.log,org.apache.sling.jcr.base.util,org.apache.sling.jcr.api,org .osgi.framework,org.osgi.service.component,org.apache.jackrabbit.api, javax.jcr.nodetype,org.slf4j";version="2.0.4",org.apache.sling.jcr.ba se.util;uses:="org.apache.jackrabbit.api.jsr283.security,javax.jcr,or g.apache.jackrabbit.api.security.user,org.apache.jackrabbit.api.secur ity.principal,org.apache.jackrabbit.api,javax.naming,org.slf4j";versi on="2.0.4" Looking at the server bundle manifest, it says org.apache.sling.jcr.base;version="2.0.5" All of this works fine in Sling, but when I build Sakai it get a unresolved dep (server wants >=2.0.5) I have no idea why at the moment. Ian On 12 Feb 2010, at 15:03, [email protected] wrote: > Author: cziegeler > Date: Fri Feb 12 15:03:17 2010 > New Revision: 909445 > > URL: http://svn.apache.org/viewvc?rev=909445&view=rev > Log: > The api didn't change, so we still export 2.0.4 > > Modified: > sling/trunk/bundles/jcr/base/pom.xml > > Modified: sling/trunk/bundles/jcr/base/pom.xml > URL: > http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/base/pom.xml?rev=909445&r1=909444&r2=909445&view=diff > ============================================================================== > --- sling/trunk/bundles/jcr/base/pom.xml (original) > +++ sling/trunk/bundles/jcr/base/pom.xml Fri Feb 12 15:03:17 2010 > @@ -59,7 +59,7 @@ > </Bundle-Category> > <Export-Package> > org.apache.sling.jcr.base; > - > org.apache.sling.jcr.base.util;version=${pom.version} > + org.apache.sling.jcr.base.util;version=2.0.4 > </Export-Package> > <Private-Package> > org.apache.sling.jcr.base.internal.* > >
