For a new install (which is the case in a tycho build), the intent is for the resolver to return the highest version available. For addition on top of an install or update, the algorithm is a bit more complex but should favour the highest version of the things being in the transitive closure of what is being changed.
Could you please open a bug (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox) with the necessary IUs to recreate the problem. Thx On 2011-07-14, at 4:46 PM, Langhuth, Eckart wrote: > 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
_______________________________________________ p2-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/p2-dev
