[
https://issues.apache.org/jira/browse/FELIX-2949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033028#comment-13033028
]
Richard S. Hall commented on FELIX-2949:
----------------------------------------
Yeah, this is a known "issue". The Felix resolver is an incremental resolver.
I've debated with myself what's the best way here. Equinox' resolver is greedy.
There are trade-offs between the approaches.
> PackageAdmin#resolveBundles() should do a global resolution instead of a step
> by step resolution
> ------------------------------------------------------------------------------------------------
>
> Key: FELIX-2949
> URL: https://issues.apache.org/jira/browse/FELIX-2949
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: framework-3.0.9, framework-3.2.1
> Reporter: Guillaume Nodet
>
> The code currently iterates through the list of bundles and try to resolve
> them one by one.
> This unfortunately does not always give a good solution and have a global
> resolution would allow some use cases to be solved without manual
> intervention.
> My use case involve a package which is provided in 2 different versions and
> which causes use constraints to not be solved when the bundles are resolved
> one by one.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira