LocalRepository representing installed Bundles ignores optional package 
dependency
----------------------------------------------------------------------------------

                 Key: FELIX-173
                 URL: http://issues.apache.org/jira/browse/FELIX-173
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR)
    Affects Versions: 0.8.0, 1.0.0
            Reporter: Felix Meschberger


Trying to resolve a bundle form a remote repository, which has dependencies on 
a locally installed bunlde, which in turn has optional dependencies 
(ImportPackage with resolution:=optional), may fail for these optional 
dependencies.

I assume, the LocalRepositoryImpl.convertImportPackageToRequirement method 
should honour the R4Import.isOptional flag.

Will provide a patch for this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to