On Wed, Feb 16, 2011 at 4:35 PM, Brian de Alwis <[email protected]>wrote:

> I'm sure I can build a p2 query to figure this out, given enough time.  But
> I wondered if there's an p2 cli app that already does this, or that I can
> use to execute the query?  (p2grep?)
>
>
Thanx to Chris, I was able to run the p2 queries ... but I wasn't able to
make it go up the containment graph, only to find out what something depends
on.  ex:


osgi> provlquery
http://download.eclipse.org/e4/updates/0.11-I-builds"select( x |
x.id == 'org.eclipse.e4.core.contexts').traverse(parent |
parent.requirements.collect(rc | select(iu | iu  ~=
rc)).flatten().latest())" true
javax.annotation 1.0.0.v20101115-0725
javax.inject 1.0.0.v20091030
org.eclipse.e4.core.contexts 0.9.0.v20101125-1630
org.eclipse.e4.core.di 0.9.0.v20101202-1530
org.eclipse.osgi 3.7.0.v20110207

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