Hi,
I want to install a bundle and also install it's required bundles.
I am using the following p2QL query but it doesn't find any of the dependencies:
IQuery<IInstallableUnit> iQuery = QueryUtil.createQuery(
"latest(x | x.id == $0).traverse(parent | parent.requirements.collect(rc | select(iu | iu ~= rc)).flatten())",
"my.bundles.name");
Set<IInstallableUnit> toInstall = repository.query(iQuery, monitor).toUnmodifiableSet();
The query only returns "my.bundles.name". It does not return any of it's required bundles.