On Tuesday 05 September 2006 10:54, David Leangen wrote: > 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... The Wiki says; <quote> Import the logging APIs that are used in your client bundle. To ensure that your bundle's logging will get routed to Pax Logging Service, and not linked to another JCL or Log4J implementation (perhaps exported by a third-party bundle), you should specify the attribute provider=paxlogging (see below). </quote> I need to pull out the R3 spec to see what this could possibly be. Any chance to try on Felix or Knopflerfish? Cheers Niclas _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
