Hi Mickael, I will use the mojo. Thanks for pointing it out!
Kind Regards, Alex From: [email protected] [mailto:[email protected]] On Behalf Of Mickael Istria Sent: 02 July, 2014 10:30 AM To: [email protected] 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<http://www.jboss.org/tools> My blog<http://mickaelistria.wordpress.com> - My Tweets<http://twitter.com/mickaelistria>
_______________________________________________ wtp-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/wtp-dev
