Hi,

while investigating a problem resulting in bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=352081
I stumbled over the behavior of 
org.eclipse.equinox.internal.p2.director.Projector.

Out of curiosity. Is there a description of the weight function used to 
determine a solution?
In my example a feature includes a single plugin without a version constraint. 
(0.0.0)
The search scope contains two version of the required plugin.
The solution provided by the projector contains the plugin with the smaller 
version.
My assumption would have been to prefer a solution with latest plugin version.
The difference I see is that the higher version plugin defines more 
dependencies.
Is it intended to prefer a small installation over a new one?

Best regards,
Eckart
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to