[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Can install order be influenced?

There is no out of the box support for this in p2. The planner fills the plan without doing any sorting.

I do agree that for install purpose this is starting to be necessary, and I can see two possibilities
1 - Get the provisioning plan and reorder the elements in the plan manually (yuck)
2 - Have the planner do that for you based on the dependency information.

#2 - is probably the easiest and useful to most ppl.





On 2010-10-06, at 9:27 AM, Thomas Hallgren wrote:

> Hi,
> 
> We have a situation where a set of non-osgi components must be installed in a specific order (leaf first when looking at the dependency tree). Is there any way to tell p2 to call touchpoints in a specific order?
> 
> Example:
> A depends on B which depends on C. I tell p2 to install A which of course means it also downloads B and C. Once the resolve and download is complete it's essential that C is installed first, then B and lastly A.
> 
> - thomas
> 
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev