I know that it is possible to disable greedy installation of optional dependencies by following instructions here: http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata#Capability_Advice:
My question follows from this scenario. Let's say I start with 3 bundles called: com.required com.non-greedy-optional com.non-optional com.non-optional has a non-optional dependency on com.required. com.non-greedy-optional has a non-greedy optional dependency on com.required. Let's say that I uninstall com.non-optional. What will happen to com.required? Will it stick around because of the optional dependency coming from com.non-greedy-optional? But, since the dependency is non-greedy, would that mean that com.required would be uninstalled? I am going to try this out, but since there is a very long feedback loop between setting up the p2.inf files and getting a build back that I can try, I was hoping to hear back from someone to see what behavior I should be expecting. Thanks. Andrew _______________________________________________ p2-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/p2-dev
