Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] How does Tycho plugin generates the dependency tree for both feature installation & uninstallation

Hi Mickael,

Thank you for the quick response, I'll try to understand the workflow and contact you if anything needs more to be cleared.

Thank you

On Thu, Jul 20, 2017 at 3:57 PM, Mickael Istria <mistria@xxxxxxxxxx> wrote:


On Thu, Jul 20, 2017 at 12:14 PM, Kasun Siyambalapitiya <kasunsi@xxxxxxxx> wrote:
Could you please let me know which one is doing the job, and is there anyway to extract out the dependency tree created from the p2 dependency resolver (aka Planner) for a given feature.

The job of doing dependency resolution from Tycho is a complex one which spreads on multiple layers (Tycho, p2, sat4j...) and multiple classes (AbstractArtifactDependencyWalker, org.eclipse.tycho.p2.resolver.P2ResolverImpl, org.eclipse.tycho.p2.util.resolution.ProjectorResolutionStrategy,  org.eclipse.equinox.internal.p2.director.SimplePlanner... and more).
At this point, I believe the best for you to understand the workflow is probably to start a build with a debugger enabled and to watch how execution happens by putting breakpoints here and there.

Cheers,

_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-dev



--
Regards,
Kasun Siyambalapitiya
Software Engineer
WSO2 Inc. - http://wso2.com/
lean . enterprise . middleware
Tel : 0715523466


Back to the top