Discussion:
Identify partial IUs / Build p2 metadata
(too old to reply)
Oliver Libutzki
2013-09-06 06:03:32 UTC
Permalink
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?

Kind regards
Oliver
Alex Blewitt
2013-09-06 06:54:05 UTC
Permalink
Post by Oliver Libutzki
Hello,
"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.
Generally these occur for sites that only have a "site.xml" file, and no content.jar/artefacts.jar files.
Post by Oliver Libutzki
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
David M Williams
2013-09-06 06:58:39 UTC
Permalink
I do not know of a maven/tycho way, but believe the b3 aggregator could be
used to make a "new" repo from the legacy one, that would have the
expected p2 metadata format. If you are not used to it it can take an
afternoon to get set up (that is, get used to the EMF editor :) especially
if you are working with LOTS of repos, set "legacy sites" to true, etc. (I
think it is "debug" option that will show enough detail you could tell
which was legacy site ... perhaps "verbose"?)

You should use the 0.2.x version of the b3 aggregator Editor, running on
Eclipse 4.2 (Juno SR2), installed from b3's "4.2 repo", at following URL:

http://download.eclipse.org/modeling/emft/b3/updates-4.2/

See also http://wiki.eclipse.org/Eclipse_b3/aggregator/manual

Just trying to be helpful, if you can't find another way.




From: Oliver Libutzki <***@itemis.de>
To: tycho-***@eclipse.org,
Date: 09/06/2013 02:04 AM
Subject: [tycho-user] Identify partial IUs / Build p2 metadata
Sent by: tycho-user-***@eclipse.org



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?

Kind regards
Oliver
Oliver Libutzki
2013-09-06 07:11:05 UTC
Permalink
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" <***@gmail.com>
An: "Tycho user list" <tycho-***@eclipse.org>
CC: tycho-***@eclipse.org
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 < ***@itemis.de > 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
Dirk Fauth
2013-09-06 07:22:35 UTC
Permalink
Hi,

AFAIK you need to rename your site.xml to category.xml to make the p2
repository build work with Tycho.

Greez,
Dirk


On Fri, Sep 6, 2013 at 9:11 AM, Oliver Libutzki
Post by Oliver Libutzki
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.
http://wiki.eclipse.org/Tycho/Additional_Tools#publish-features-and-bundles_goal
Kind regards
Oliver
----- Ursprüngliche Mail -----
Gesendet: Freitag, 6. September 2013 08:54:05
Betreff: Re: [tycho-user] Identify partial IUs / Build p2 metadata
Hello,
"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_goalbut 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
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
Sievers, Jan
2013-09-06 07:44:48 UTC
Permalink
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] 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" <***@gmail.com>
An: "Tycho user list" <tycho-***@eclipse.org>
CC: tycho-***@eclipse.org
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 < ***@itemis.de > 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-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mail
Oliver Libutzki
2013-09-06 07:38:07 UTC
Permalink
Hi Dirk,

I do not have any site.xml or category.xml. I just have a (mirrored) P2 repository which I would like to use in my .target-file.

Kind regards
Oliver

----- Ursprüngliche Mail -----
Von: "Dirk Fauth" <***@gmail.com>
An: "Tycho user list" <tycho-***@eclipse.org>
Gesendet: Freitag, 6. September 2013 09:22:35
Betreff: Re: [tycho-user] Identify partial IUs / Build p2 metadata





Hi,

AFAIK you need to rename your site.xml to category.xml to make the p2 repository build work with Tycho.

Greez,
Dirk




On Fri, Sep 6, 2013 at 9:11 AM, Oliver Libutzki < ***@itemis.de > wrote:


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" < ***@gmail.com >
An: "Tycho user list" < tycho-***@eclipse.org >
CC: tycho-***@eclipse.org
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 < ***@itemis.de > 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-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
Oliver Libutzki
2013-09-06 08:04:47 UTC
Permalink
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" <***@sap.com>
An: "Tycho user list" <tycho-***@eclipse.org>
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] 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" <***@gmail.com>
An: "Tycho user list" <tycho-***@eclipse.org>
CC: tycho-***@eclipse.org
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 < ***@itemis.de > 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-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
Sievers, Jan
2013-09-06 08:24:46 UTC
Permalink
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] 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" <***@sap.com>
An: "Tycho user list" <tycho-***@eclipse.org>
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] 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" <***@gmail.com>
An: "Tycho user list" <tycho-***@eclipse.org>
CC: tycho-***@eclipse.org
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 < ***@itemis.de > 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-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/t
Oliver Libutzki
2013-09-06 08:59:18 UTC
Permalink
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" <***@sap.com>
An: "Tycho user list" <tycho-***@eclipse.org>
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] 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" <***@sap.com>
An: "Tycho user list" <tycho-***@eclipse.org>
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] 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" <***@gmail.com>
An: "Tycho user list" <tycho-***@eclipse.org>
CC: tycho-***@eclipse.org
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 < ***@itemis.de > 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-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
Sievers, Jan
2013-09-06 09:19:21 UTC
Permalink
just verified that wiki instructions work for me with maven antrun 1.7
Post by Oliver Libutzki
Do you update the documentation, Jan?
made the antrun plugin version explicit but other than that you must have missed something else.

Regards,
Jan

-----Original Message-----
From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Oliver Libutzki
Sent: Freitag, 6. September 2013 10:59
To: Tycho user list
Subject: 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" <***@sap.com>
An: "Tycho user list" <tycho-***@eclipse.org>
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] 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" <***@sap.com>
An: "Tycho user list" <tycho-***@eclipse.org>
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] 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" <***@gmail.com>
An: "Tycho user list" <tycho-***@eclipse.org>
CC: tycho-***@eclipse.org
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 < ***@itemis.de > 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-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.ecl
Oliver Libutzki
2013-09-06 10:21:52 UTC
Permalink
Hi Jan,

after specifying the maven-antrun-plugin version it works like a charm.

Kind regards
Oliver

----- Ursprüngliche Mail -----
Von: "Jan Sievers" <***@sap.com>
An: "Tycho user list" <tycho-***@eclipse.org>
Gesendet: Freitag, 6. September 2013 11:19:21
Betreff: Re: [tycho-user] Identify partial IUs / Build p2 metadata

just verified that wiki instructions work for me with maven antrun 1.7
Post by Oliver Libutzki
Do you update the documentation, Jan?
made the antrun plugin version explicit but other than that you must have missed something else.

Regards,
Jan

-----Original Message-----
From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Oliver Libutzki
Sent: Freitag, 6. September 2013 10:59
To: Tycho user list
Subject: 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" <***@sap.com>
An: "Tycho user list" <tycho-***@eclipse.org>
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] 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" <***@sap.com>
An: "Tycho user list" <tycho-***@eclipse.org>
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] 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" <***@gmail.com>
An: "Tycho user list" <tycho-***@eclipse.org>
CC: tycho-***@eclipse.org
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 < ***@itemis.de > 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-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user

Loading...