felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arjun Panday (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-2532) bundle-symbolic-name constraint is not handled by the OBR resolver
Date Mon, 09 Aug 2010 15:13:16 GMT
bundle-symbolic-name constraint is not handled by the OBR resolver
------------------------------------------------------------------

                 Key: FELIX-2532
                 URL: https://issues.apache.org/jira/browse/FELIX-2532
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR)
    Affects Versions: bundlerepository-1.6.4
            Reporter: Arjun Panday
            Priority: Critical


I have a bundle importing javax.xml.bind specifically from the system.bundle. The import looks
like this:

Import-Package: javax.xml.bind;bundle-symbolic-name=system.bundle

Bindex translates the import into the following requirement:

    <require extend='false' filter='(&amp;(package=javax.xml.bind)(version&gt;=0.0.0)(bundle-symbolic-name=system.bundle)(mandatory:&lt;*bundle-symbolic-name))'
multiple='false' name='package' optional='false'>   
      Import package javax.xml.bind
    </require>

This requirement is not resolved by the RepositoryAdmin service.
When I loop over resolver.getUnsatisfiedRequirements(), I log:

Unsatisfied OBR requirement (&(package=javax.xml.bind)(bundle-symbolic-name=system.bundle)(mandatory:<*bundle-symbolic-name))

It seems that the bundle-symbolic-name constraint is not handled by the resolver.

/arjun

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message