Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Weird error when using p2-installable-unit

You should see way more logs

For p2 you should see entire resolver data flow, separately for each os/ws/arch combo enabled in target resolver configuration
* Available IUs: shows all installable units visible to the project
* Root IUs: shows project installable unit(s)
* Extra IUs: shows installable units generated from <dependency/>
  elements
* Slice: shows installable units "reachable" from the root and extra IUs
* Resolved IUs: shows IUs after resolving all conflicts and duplicates


For equinox
* Resolved OSGi state: resolved OSGi state, i.e. RESOLVED lines you see

--
Regards,
Igor

On 11-11-28 10:32 AM, Max Rydahl Andersen wrote:
Running the build with -X -Dtycho.debug.resolver=<artifactId>   will
provide detailed information about dependency resolution, starting with
all installable units visible to the project.

Okey, I'll try see what that will give me.

I looked in the code and I couldn't find a place where tycho.debug.resolver was used for anything beyond a boolean flag.
Where is the artifactid taken into account ?


DebugUtils checks for project artifactId

http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-core/src/main/java/org/eclipse/tycho/core/osgitools/DebugUtils.java


Ah gothca!

Thought you mean tycho.debug.resolver=<pluginid>  so I had tycho.debug.resolver=org.eclipse.jdt.launching.macosx and saw no diff output.

With tycho.debug.resolver=<my project artifactid>  I get a lot of RESOLVED: lines - I assume that is what you referenced to?

/max
http://about.me/maxandersen



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


Back to the top