On Thu, Feb 17, 2011 at 10:01 AM, Thomas Hallgren <[email protected]> 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
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to