Difference between revisions of "EPP/Wizard/External Service Provider Demo"

From Eclipsepedia

< EPP‎ | Wizard
Jump to: navigation, search
m
m (Introduction)
Line 3: Line 3:
 
== Introduction ==
 
== Introduction ==
  
The sample external service integration project illustrates how external service providers can use the information handed over by the the EPP Wizard. The project is available in CVS as org.eclipse.epp.wizard.extintegration.demo (TODO: add link to cvs). This demo simply appends the [http://springide.org/project SpringIDE] to the set of IUs (i.e. components) to be installed and adds the SpringIDE Update Site (which happens to be P2-enabled) to the list of P2 repositories. The user can now download a special installer with this augmented installer configuration. This installer will then install the components selected by the user in the wizard in addition to the SpringIDE.
+
The sample external service integration project illustrates how external service providers can use the information handed over by the the EPP Wizard. The project is available in CVS as org.eclipse.epp.wizard.extintegration.demo ([http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.epp/plugins/org.eclipse.epp.wizard.extintegration.demo/?root=Technology_Project&sortdir=down CVS]). This demo simply appends the [http://springide.org/project SpringIDE] to the set of IUs (i.e. components) to be installed and adds the SpringIDE Update Site (which happens to be P2-enabled) to the list of P2 repositories. The user can now download a special installer with this augmented installer configuration. This installer will then install the components selected by the user in the wizard in addition to the SpringIDE.
  
 
== External service provider configuration ==
 
== External service provider configuration ==

Revision as of 07:23, 2 October 2008

This page discusses the sample implementation of an external service provider for the EPP Wizard (Eclipse Dynamic Download)

Introduction

The sample external service integration project illustrates how external service providers can use the information handed over by the the EPP Wizard. The project is available in CVS as org.eclipse.epp.wizard.extintegration.demo (CVS). This demo simply appends the SpringIDE to the set of IUs (i.e. components) to be installed and adds the SpringIDE Update Site (which happens to be P2-enabled) to the list of P2 repositories. The user can now download a special installer with this augmented installer configuration. This installer will then install the components selected by the user in the wizard in addition to the SpringIDE.

External service provider configuration

The configuration as discussed in EPP/Wizard/Outgoing_links

label=Sample service provider (SpringIDE)
description=Demo only!!! Demo service adding the SpringIDE to the download. Not for user consumption!
icon=external.png
url=http://eppwizard.dyndns.org/extintdemo/demo

Appending components

The SpringIDE components are added by simply appending the respective strings to the relevant parameters in DemoServlet.java:

   // --- Append Spring IDE information
   // Add new root ui
   roots += ","+"org.springframework.ide.eclipse.feature.feature.group";
   // Add corresponding p2 repository urls
   metadata += ","+"http://dist.springframework.org/release/IDE/";
   artifacts += ","+"http://dist.springframework.org/release/IDE/";

This is probably the simplest way to enhance and add value to a component selection. More refined ways like using P2 to obtain more information about the selected components are definitely possible.