Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Download additional server adapters?

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?

 

Thanks and Regards,

Alex

 

[1] http://download.eclipse.org/releases/luna

 

 

From: Silgidjian, Alexander
Sent: 02 юли 2014 г. 16:05 ч.
To: General discussion of project-wide or architectural issues.
Subject: RE: [wtp-dev] Download additional server adapters?

 

Hi Mickael,

 

I will use the mojo.

Thanks for pointing it out!

 

Kind Regards,

Alex

 

From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Mickael Istria
Sent: 02 July, 2014 10:30 AM
To: wtp-dev@xxxxxxxxxxx
Subject: Re: [wtp-dev] Download additional server adapters?

 

On 07/01/2014 09:50 AM, Silgidjian, Alexander wrote:

Hello,

Hello,

I am trying to add the option to download SAP HANA Cloud Platform server adapter from the New Server wizard.

Our update site is packaged with Maven as eclipse-repository and not as eclipse-update-site.

On the other side it looks like the Server Discovery relies on site.xml.

Would you advice me how to proceed?

Should I convert back to the deprecated eclipse-update-site packaging or there is a Maven option to generate repository with site.xml?

Indeed, WTP discovery mechanism relies on existence of a site.xml, and will resolve features that have category "org.eclipse.wst.server.core.serverAdapter" as server adapters.
Instead of switching back to the old format, I'd recommend you keep the eclipse-repository format and generate a site.xml that contains the server adapters. See for example, this mojo: https://github.com/jbosstools/jbosstools-maven-plugins/blob/master/tycho-plugins/repository-utils/src/main/java/org/jboss/tools/tycho/sitegenerator/GenerateRepositoryFacadeMojo.java which (among others) creates a site.xml derived from the category.xml and with the actual versions, so that WTP discovery can consume it. Output is http://download.jboss.org/tools/updates/webtools/luna/

See also the following Bugzilla entries for discussions & suggestions on this topic:
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=434185
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=291094

HTH

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets


Back to the top