Jump to: navigation, search

Difference between revisions of "EPP/Wizard/Demonstration HowTo"

< EPP‎ | Wizard
(Repository setup)
m (Sources)
Line 8: Line 8:
 
=== Sources ===
 
=== Sources ===
  
Sources can be obtained from the Team project set "eppwizard.psf" in the releng package [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.epp/plugins/org.eclipse.epp.wizard.releng/eppwizard.psf?root=Technology_Project&view=log here] (Note: get at least version 1.3, ViewVC has not updated it yet...)
+
Sources can be obtained from the Team project set "eppwizard.psf" in the releng package [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.epp/plugins/org.eclipse.epp.wizard.releng/eppwizard.psf?root=Technology_Project&view=log here] (Note: get at least version 1.6, ViewVC has not updated it yet...)
  
 
=== Generate metadata (optional) ===
 
=== Generate metadata (optional) ===

Revision as of 13:49, 13 November 2008

Introduction

This wiki page outlines the steps necessary to run the EPP Wizard.


Setup

Sources

Sources can be obtained from the Team project set "eppwizard.psf" in the releng package here (Note: get at least version 1.6, ViewVC has not updated it yet...)

Generate metadata (optional)

This step generates a metadata repository (essentially a file called content.xml) from IU definitions (see EPP/Wizard/Proposal for better P2 Integration).

This step can be started with the Launch configuration "Metadata generator.launch" (the launch configuration currently seems to contain unresolved bundles, and thus throw exceptions, the content generation should work anyway)

Repositories

The EPP wizard needs two different repository source, one for the standard Eclipse/Ganymede IUs and one for the EPP IUs create in the previous step (c.f. EPP/Wizard/RepositorySetup). Although the official update sites can be used for the former (standard), for testing it is more efficient to use a local mirror. The latter repository is basically just the generated content.xml accessible by a web server. The easiest thing to do is to set up a local Apache server and host the files from there.

Configuration

The project "org.eclipse.epp.wizard" contains two properties files for configuration (eppwizard.properties and installerbuilder.properties) that determine the configuration of the wizard. Usually only the paths and URLs need to be changed, see the comments in the files for further information. Note that the directory containing the content.xml described in the step above must be accessible at the property value of "epp.metadata", either via "file:" or "http:" protocol.

Starting

The Launch configuration "EPP Wizard OSGi" launches an OSGi application with an embedded Jetty servlet container serving on port 8008. The EPP wizard can then be reached at http://localhost:8008/rap.