Discussion:
[tycho-user] Unable to access pydev update site
Julien HENRY
2017-10-26 13:47:08 UTC
Permalink
Hi,
In my target platform, one site is failing the build:
14:50:39 [INFO] Adding repository http://pydev.org/updates14:50:39 [WARNING] Failed to access p2 repository http://pydev.org/updates, use local cache. Neither http://pydev.org/updates/content.jar nor http://pydev.org/updates/content.xml found.

In fact this site is a composite update site, so Tycho should be looking for compositeContent.xml.
Note that I don't have the problem on all my computers, so this is very strange.
Any idea?
Julien
Matthew Piggott
2017-10-26 16:28:14 UTC
Permalink
It checks composite -> standard and the composite errors are swallowed.
Hi,
*14:50:39* [INFO] Adding repository http://pydev.org/updates *14:50:39* [WARNING]
Failed to access p2 repository http://pydev.org/updates, use local cache.
Neither http://pydev.org/updates/content.jar nor http://pydev.org/updates/
content.xml found.
In fact this site is a composite update site, so Tycho should be looking
for compositeContent.xml.
Note that I don't have the problem on all my computers, so this is very strange.
Any idea?
Julien
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Nick Boldt
2017-10-26 21:11:00 UTC
Permalink
To avoid errors and speed up p2's resolution, you should add a p2.info
file, like this:

version = 1
metadata.repository.factory.order = compositeContent.xml,\!
artifact.repository.factory.order = compositeArtifacts.xml,\!

eg.,
http://download.jboss.org/jbosstools/oxygen/snapshots/builds/_composite_/core/master/p2.index
Post by Matthew Piggott
It checks composite -> standard and the composite errors are swallowed.
Hi,
*14:50:39* [INFO] Adding repository http://pydev.org/updates *14:50:39* [WARNING]
Failed to access p2 repository http://pydev.org/updates, use local
cache. Neither http://pydev.org/updates/content.jar nor
http://pydev.org/updates/content.xml found.
In fact this site is a composite update site, so Tycho should be looking
for compositeContent.xml.
Note that I don't have the problem on all my computers, so this is very strange.
Any idea?
Julien
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Nick Boldt :: http://nick.divbyzero.com
FB, IG, Twitter, G+, LinkedIn, Freenode: @nickboldt
WhatsApp: +57 311 530 2074 or +1 647 899 9879
Julien HENRY
2017-10-30 09:39:12 UTC
Permalink
Hi Nick,
Thanks for the tip, it might be useful for my own repositories. Note that I'm not the owner of the pydev update site, but I will try to let them know.
++ Le jeudi 26 octobre 2017 à 23:11:30 UTC+2, Nick Boldt <***@gmail.com> a écrit :

To avoid errors and speed up p2's resolution, you should add a p2.info file, like this:
version = 1
metadata.repository.factory.order = compositeContent.xml,\!
artifact.repository.factory.order = compositeArtifacts.xml,\!eg.,
http://download.jboss.org/jbosstools/oxygen/snapshots/builds/_composite_/core/master/p2.index
On Thu, Oct 26, 2017 at 12:28 PM, Matthew Piggott <***@sonatype.com> wrote:

It checks composite -> standard and the composite errors are swallowed.

On 26 October 2017 at 09:47, Julien HENRY <***@yahoo.fr> wrote:

Hi,
In my target platform, one site is failing the build:
14:50:39 [INFO] Adding repository http://pydev.org/updates14:50:39 [WARNING] Failed to access p2 repository http://pydev.org/updates, use local cache. Neither http://pydev.org/updates/conte nt.jar nor http://pydev.org/updates/conte nt.xml found.

In fact this site is a composite update site, so Tycho should be looking for compositeContent.xml.
Note that I don't have the problem on all my computers, so this is very strange.
Any idea?
Julien
______________________________ _________________
tycho-user mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailma n/listinfo/tycho-user



______________________________ _________________
tycho-user mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/ mailman/listinfo/tycho-user
--
Nick Boldt :: http://nick.divbyzero.com
FB, IG, Twitter, G+, LinkedIn, Freenode: @nickboldt
WhatsApp: +57 311 530 2074 or +1 647 899 9879_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Loading...