[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Re: Provisioning metadata in flux


I have released an initial refactoring that simplifies installable unit dependencies.  What we had before:

InstallableUnit had an array of IDependency.
IDependency was either FilterBasedDependency or NameBasedDependency.
FilterBasedDependency was an array of RequiredCapability.

What we have now:

IDependency, FilterBasedDependency, and NameBasedDependency are gone.
InstallableUnit just has an array of RequiredCapability.

Note that NameBasedDependency was really just a short hand for a required capability on a particular IU name and version. This is a useful concept, so I added a factory method RequiredCapability.createRequiredCapabilityForName that makes it easy to create such a RequiredCapability.

All metadata JUnit tests, and DirectorTest pass.  Regeneration of metadata is required.

Bug ref: https://bugs.eclipse.org/bugs/show_bug.cgi?id=195406

John



John Arthorne/Ottawa/IBM

07/04/2007 11:45 AM

To
equinox-dev@xxxxxxxxxxx
cc
Subject
Provisioning metadata in flux




Heads up: Pascal and I are hacking on the incubator provisioning metadata APIs today, and we anticipate some major breakages. We suggest avoiding changes to org.eclipse.equinox.prov.metadata until the bits have settled (hopefully end of today or tomorrow).