Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Identify partial IUs / Build p2 metadata

Hi Jan,

thanks for opening the enhancement.

I identified the problem: The example at http://wiki.eclipse.org/Tycho/Additional_Tools#publish-features-and-bundles_goal doesn't delete content.jar and artifacts.jar.

The corresponding ant task is not executed. You have to correct it this way:
former:
                    <configuration>
                        <target>
                            <delete file="${project.build.directory}/repository/content.jar" />
                            <delete file="${project.build.directory}/repository/artifacts.jar" />
                        </target>
                    </configuration>

working one:
                    <configuration>
                        <tasks>
                            <delete file="${project.build.directory}/repository/content.jar" />
                            <delete file="${project.build.directory}/repository/artifacts.jar" />
                        </tasks>
                    </configuration>

Do you update the documentation, Jan?

Thanks for your support.

Kind regards
Oliver

----- Ursprüngliche Mail -----
Von: "Jan Sievers" <jan.sievers@xxxxxxx>
An: "Tycho user list" <tycho-user@xxxxxxxxxxx>
Gesendet: Freitag, 6. September 2013 10:24:46
Betreff: Re: [tycho-user] Identify partial IUs / Build p2 metadata

opened enhancement
https://bugs.eclipse.org/bugs/show_bug.cgi?id=416690

to include the IU in the error message.

To find out manually, open content.jar/xml and search for 

<property name='org.eclipse.equinox.p2.partial.iu' value='true'/>

Regards,
Jan


-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Oliver Libutzki
Sent: Freitag, 6. September 2013 10:05
To: Tycho user list
Subject: Re: [tycho-user] Identify partial IUs / Build p2 metadata

Hi Jan,

I re-published the p2 repo the way you mentioned, but I still get the error message while reoslving the target platform.

So I would like to determine the IU causing this problem.

Kind regards
Oliver

----- Ursprüngliche Mail -----
Von: "Jan Sievers" <jan.sievers@xxxxxxx>
An: "Tycho user list" <tycho-user@xxxxxxxxxxx>
Gesendet: Freitag, 6. September 2013 09:44:48
Betreff: Re: [tycho-user] Identify partial IUs / Build p2 metadata

if you mirror from an old style update site, you will get p2 metadata with partialIUs.

re-publishing (don't forget to remove the content.jar/artifacts.jar with partial IUs)
http://wiki.eclipse.org/Tycho/Additional_Tools#publish-features-and-bundles_goal

should do the trick.

Jan

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Oliver Libutzki
Sent: Freitag, 6. September 2013 09:11
To: Tycho user list
Subject: Re: [tycho-user] Identify partial IUs / Build p2 metadata

Hi Alex,

-- Generally these occur for sites that only have a "site.xml" file, and no content.jar/artefacts.jar files. 

The P2 repository contains content.jar/artefacts.jar files. It was built by using the tycho-extras mirror goal, maybe in the past some pertial IUs have been mirrored this way.

-- You can run the P2 features and bundles application to rebuild this information. 

I have done this without success using this pom: http://wiki.eclipse.org/Tycho/Additional_Tools#publish-features-and-bundles_goal

Kind regards
Oliver

----- Ursprüngliche Mail -----
Von: "Alex Blewitt" <alex.blewitt@xxxxxxxxx>
An: "Tycho user list" <tycho-user@xxxxxxxxxxx>
CC: tycho-user@xxxxxxxxxxx
Gesendet: Freitag, 6. September 2013 08:54:05
Betreff: Re: [tycho-user] Identify partial IUs / Build p2 metadata



On 6 Sep 2013, at 07:03, Oliver Libutzki < oliver.libutzki@xxxxxxxxx > wrote: 




Hello, 

using Tycho 0.18.1 I get the following message while resoving my target platform: 
"The p2 repository at {someurl} contains units from an old style update site which cannot be used for dependency resolution" 

I just ran http://wiki.eclipse.org/Tycho/Additional_Tools#publish-features-and-bundles_goal but I still get this error message. 

How can I identify the partial IUs? I read that it's possible by using Igor Fedorenko's P2 Browser ( https://github.com/ifedorenko/p2-browser ), but I don't know how to find them. 









Do you have any suggestions how I can "rebuild" the p2 metadata or even identify the partial IUs? 


You can run the P2 features and bundles application to rebuild this information. 





http://help.eclipse.org/juno/topic/org.eclipse.platform.doc.isv/guide/p2_publisher.html#features_and_bundles_publisher 
_______________________________________________
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
_______________________________________________
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
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top