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

No, on second thought, never mind that suggestion...

- thomas

On 2011-02-17 15:22, Thomas Hallgren wrote:
Hi Paul,

Don't you have a misplaced parenthesis? It looks like you're flattening and taking the latest of the requirements, not the IU's.

On 2011-02-17 14:33, Paul Webster wrote:
select( x | x.id == 'org.eclipse.e4.core.contexts').traverse(parent | parent.requirements.collect(rc | select(iu | iu ~= rc)).flatten().latest())

Try this instead:

select( x | x.id == 'org.eclipse.e4.core.contexts').traverse(parent | parent.requirements.collect(rc | select(iu | iu ~= rc))).flatten().latest()

- thomas

_______________________________________________ p2-dev mailing list p2-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/p2-dev