[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] CLI tool to execute a p2 query?

You need something like this:

IInstallableUnit theKnownIU = ...

ÂQueryUtil.createMatchQuery("requirements.exists(r | $0 ~= r) && properties['org.eclipse.equinox.p2.type.group']", theKnownIU)

That's java code of course. The CLI doesn't support adding arguments yet.

- thomas


On 2011-02-17 15:32, Paul Webster wrote:
On Thu, Feb 17, 2011 at 9:29 AM, Thomas Hallgren <thomas@xxxxxxx> wrote:
No, on second thought, never mind that suggestion...

The one I posted appears to return a reasonable set of IUs as dependencies.


But do you have any suggestions on finding out IUs that "require" a given bundle? and then they can be filtered <property name='org.eclipse.equinox.p2.type.group' value='true'/> ?

PW

--
Paul Webster
Hi floor. Make me a sammich! - GIR
_______________________________________________ p2-dev mailing list p2-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/p2-dev