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
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to