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

On Thu, Feb 17, 2011 at 10:01 AM, Thomas Hallgren <thomas@xxxxxxx> wrote:
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.



Â
So I'm not going to get something like this to work? :

provlpquery this "select(parent | parent.properties['org.eclipse.equinox.p2.type.group'] == true && parent.requirements.exists(rc | everything.select(iu | iu.id == 'org.eclipse.core.e4.contexts' && iu ~= rc)))" true

PW


--
Paul Webster
Hi floor. Make me a sammich! - GIR