felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-3388) Complex uses resolver failure
Date Mon, 12 Mar 2012 12:58:57 GMT
Complex uses resolver failure
-----------------------------

                 Key: FELIX-3388
                 URL: https://issues.apache.org/jira/browse/FELIX-3388
             Project: Felix
          Issue Type: Bug
            Reporter: Thomas Diesler


Consider this

        // Bundle-SymbolicName: javax.servlet.api
        // ExportPackage: javax.servlet;version=2.5

        // Bundle-SymbolicName: enterprise.jar
        // ExportPackage: org.osgi.service.http;version=1.2.1;uses:=javax.servlet
        // ImportPackage: javax.servlet;resolution:=optional

        // Bundle-SymbolicName: http.service.provider
        // ExportPackage: javax.servlet;version=2.5
        // ExportPackage: org.ops4j.pax.web.service;resolution:=optional;uses:=javax.servlet
        // ExportPackage: org.osgi.service.http;version=1.2.0;uses:=javax.servlet
        // ImportPackage: javax.servlet;version="[2.3.0,2.6.0)";resolution:=optional

Install, resolve and apply results for the above. 
Verify that package requirement javax.servlet wires to javax.servlet.api

        // Bundle-SymbolicName: war.extender.jar
        // ImportPackage: org.ops4j.pax.web.service
        // ImportPackage: javax.servlet;version="[2.3,3.0)"

Install, resolve and apply results for the above. 
Verify that package requirement javax.servlet wires to javax.servlet.api

The test is {here|https://github.com/tdiesler/jbosgi-resolver/blob/master/felix/src/test/java/org/jboss/test/osgi/resolver/UsesDirectiveResolverTest.java}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message