Discussion:
[tycho-dev] Can Tycho use an old-style site.xml update site in a target platform
Andreas Sewe
2017-06-08 13:17:36 UTC
Permalink
Hi,

I have an eclipse-target-definition which contains
<http://andrei.gmxhome.de/eclipse>. This update site appear to be
old-style only, i.e., it has a site.xml but no
(artifacts|content).(jar|xml). Are such update sites supported by Tycho?
(Didn't find an issue in Bugzilla.)

PDE loads them just fine, but with Tycho I see
[INFO] Adding repository http://andrei.gmxhome.de/eclipse
[INFO] Fetching site.xml from http://andrei.gmxhome.de/eclipse/ (0B of 4,93kB at 0B/s)
[ERROR] Failed to resolve target definition /Users/sewe/.m2/repository/org/example/neon/1.0.0-SNAPSHOT/neon-1.0.0-SNAPSHOT.target: Failed to load p2 metadata repository from location http://andrei.gmxhome.de/eclipse: No repository found at http://andrei.gmxhome.de/eclipse. -> [Help 1]
What looks odd to me is that Tycho tries to download the site.xml in the
first place, if old-style update sites were completely unsupported, so
maybe I am simply doing something wrong.

Best wishes,

Andreas
--
Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
Sievers, Jan
2017-06-09 08:10:48 UTC
Permalink
this should be covered by p2.
Up to now I think that old-style site.xml update sites were still supported by p2.
Given it's been deprecated years and years ago, if it breaks now I think that chances are low anyone will fix it.

Regards
Jan

On 08.06.17, 15:17, "tycho-dev-***@eclipse.org on behalf of Andreas Sewe" <tycho-dev-***@eclipse.org on behalf of ***@codetrails.com> wrote:

Hi,

I have an eclipse-target-definition which contains
<http://andrei.gmxhome.de/eclipse>. This update site appear to be
old-style only, i.e., it has a site.xml but no
(artifacts|content).(jar|xml). Are such update sites supported by Tycho?
(Didn't find an issue in Bugzilla.)

PDE loads them just fine, but with Tycho I see
[INFO] Adding repository http://andrei.gmxhome.de/eclipse
[INFO] Fetching site.xml from http://andrei.gmxhome.de/eclipse/ (0B of 4,93kB at 0B/s)
[ERROR] Failed to resolve target definition /Users/sewe/.m2/repository/org/example/neon/1.0.0-SNAPSHOT/neon-1.0.0-SNAPSHOT.target: Failed to load p2 metadata repository from location http://andrei.gmxhome.de/eclipse: No repository found at http://andrei.gmxhome.de/eclipse. -> [Help 1]
What looks odd to me is that Tycho tries to download the site.xml in the
first place, if old-style update sites were completely unsupported, so
maybe I am simply doing something wrong.

Best wishes,

Andreas
--
Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
Sievers, Jan
2017-06-09 08:15:50 UTC
Permalink
you could try
https://wiki.eclipse.org/Tycho/Additional_Tools#publish-features-and-bundles_goal

Regards
Jan

On 09.06.17, 10:10, "tycho-dev-***@eclipse.org on behalf of Sievers, Jan" <tycho-dev-***@eclipse.org on behalf of ***@sap.com> wrote:

this should be covered by p2.
Up to now I think that old-style site.xml update sites were still supported by p2.
Given it's been deprecated years and years ago, if it breaks now I think that chances are low anyone will fix it.

Regards
Jan

On 08.06.17, 15:17, "tycho-dev-***@eclipse.org on behalf of Andreas Sewe" <tycho-dev-***@eclipse.org on behalf of ***@codetrails.com> wrote:

Hi,

I have an eclipse-target-definition which contains
<http://andrei.gmxhome.de/eclipse>. This update site appear to be
old-style only, i.e., it has a site.xml but no
(artifacts|content).(jar|xml). Are such update sites supported by Tycho?
(Didn't find an issue in Bugzilla.)

PDE loads them just fine, but with Tycho I see
[INFO] Adding repository http://andrei.gmxhome.de/eclipse
[INFO] Fetching site.xml from http://andrei.gmxhome.de/eclipse/ (0B of 4,93kB at 0B/s)
[ERROR] Failed to resolve target definition /Users/sewe/.m2/repository/org/example/neon/1.0.0-SNAPSHOT/neon-1.0.0-SNAPSHOT.target: Failed to load p2 metadata repository from location http://andrei.gmxhome.de/eclipse: No repository found at http://andrei.gmxhome.de/eclipse. -> [Help 1]
What looks odd to me is that Tycho tries to download the site.xml in the
first place, if old-style update sites were completely unsupported, so
maybe I am simply doing something wrong.

Best wishes,

Andreas
--
Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
Loading...