Update Site Explicitly suffixing content.xml

427 Views Asked by At

My update site looks like

http://<host>:<port>/jenkins/job/.../target/site/site.xml

When I try to update eclipse using this update site, eclipse automatically suffixes it with /content.xml.

After which I get a p2.core.ProvisionException stating unable to read repository.

What can be done to avoid this additional appending of content.xml causing this issue.

1

There are 1 best solutions below

2
On

You don't normally include the site.xml in the update site URL so just specify:

http://<host>:<port>/jenkins/job/.../target/site/

Eclipse should look for site.xml (old style update site) and content.xml (p2 repository style update site).