Hi Richard

On 4 Jun 2009, at 00:13, Richard S. Hall wrote:

The issue is, I need to determine whether or not a given fragment conflicts with the existing host or other fragments or else I cannot attach it. Currently, the approach I take is quite simplistic, which is just requiring any overlapping Import-Package or Require-Bundle to be identical (i.e., I allow that, anything else I reject attaching the fragment).

If/when necessary, I contemplate getting around this by just trying to satisfy all dependencies and just look for interesting candidates on overlapping ones, but it doesn't seem necessary now.

That's equivalent to my approach when dependencies can be satisfied, but when the combination of dependencies is simply unsatisfiable because of conflicts, I wanted to provide specific feedback about the clash and where the clash arose from rather than generic feedback about the failure to resolve dependencies. Anyway, I simply wanted to bring up this approach and the available code.

Regards,
Glyn

Reply via email to