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
FilterBasedDependency was an array of
What we have now:
and NameBasedDependency are gone.
InstallableUnit just has an array of
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.
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).