Hi Mickael,
I have tried this but this did not work out.
I might try to provide a patch in Server Tools, but I am not sure if there is sense in it or we should rather go for
https://bugs.eclipse.org/bugs/show_bug.cgi?id=434185
Kind Regards,
Alex
From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx]
On Behalf Of Mickael Istria
Sent: 08 юли 2014 г. 14:43 ч.
To: wtp-dev@xxxxxxxxxxx
Subject: Re: [wtp-dev] Download additional server adapters?
On 07/08/2014 01:36 PM, Silgidjian, Alexander wrote:
Hi again,
Now I have site.xml and run into another issue.
Our server adapter requires com.google.gson, which is normally found as required software and installed from the preconfigured Luna update site [1].
However when installing additional server adapter, it looks like only the selected update site is considered and our installation fails due to missing required
items.
Have you seen such issue and could you propose a solution?
This same Mojo allows to add associateSites (aka referenced repositories in p2 prose).
You should trying adding a reference from your site to the Orbit site (which contains gson). If the server discovery services uses p2 during installation, it will most likely be able to resolve gson.
If associateSite is a solution for you, then there is a bleeding edge alternative directly in p2. Please read
https://bugs.eclipse.org/bugs/show_bug.cgi?id=436318 . I think Tycho 0.21 will include the newer p2 containing this fix.