[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Projector weight function



while investigating a problem resulting in bug


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,