Thanks for all the help! I'm almost there...

I'm just trying to resolve the JCL package. This is the closest I've got
so far:

Import-Package: org.ops4j.pax.logging.service,
org.apache.commons.logging; specification-version=1.0.4;
provider=paxlogging

When building, I include these dependencies:

            <include key="pax-logging-api" />
            <include key="pax-logging-jcl" />

But I get this error:

org.osgi.framework.BundleException: Unresolved package:
org.apache.commons.logging; specification-version="1.0.4"


I got the number "1.0.4" from the Export-Package declaration in the pax
JCL pom. I'm using "specification-version" instead of "version" because
Oscar complains when "specification-version" is missing (maybe an R3
spec).

The wiki says that I'm not supposed to import the package myself, but it
looks like something's missing...

Any hints?



On Tue, 2006-09-05 at 10:07 +0800, Niclas Hedhman wrote:
> On Tuesday 05 September 2006 09:50, David Leangen wrote:
> > >         [ERROR] BUILD FAILURE
> > >
> > >
> > > Sounds like a classpath or "unclean" problem.
> > > I suggest that you start by using the binary 0.9.4 out of the
> > > http://repository.ops4j.org/maven2/org/ops4j/pax/logging.
> >
> > You're probably right. I started afresh and it built correctly.
> >
> >
> > I don't understand the layout of the distro url you wrote above and what
> > I'm supposed to use. But that's ok, I got it built so I don't need the
> > binary.
> 
> Ok, but then you should be building by checking out 
> https://scm.ops4j.org/repos/ops4j/qa/pax/logging-0.9.4/ to ensure that you 
> don't get tangled up in changes in HEAD.
> 
> Cheers
> Niclas
> 
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general


_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to