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

Yeah, I got it now. 

> 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

Yes, launching.macosx is listed here
> * Root IUs: shows project installable unit(s)


Yes, launching.macosx is listed here

> * Extra IUs: shows installable units generated from <dependency/>
> elements


Yes, launching.macosx is listed here

> * Slice: shows installable units "reachable" from the root and extra IUs

its not listed here and then I get the error about it being non resolvable with no explanation ;(

I've taken the liberty to attach my raw log file for the output in case you can spot anything out of the ordinary.

Note, i've got rid of the object team feature problem so now i'm just trying to grok why it won't install this plugin ;(

I also tried the trick about only enabling it conditionally in a profile but when I did that it never gets attempted to be installed (which surprises me)

Attachment: debugjaxrscore.zip
Description: Zip archive


> * 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
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user

/max
http://about.me/maxandersen




Back to the top