Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

(Sources)
m (Sources)
Line 8: Line 8:
 
=== Sources ===
 
=== Sources ===
  
To checkout the EPP Wizard project download the [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.epp/plugins/org.eclipse.epp.wizard.releng/eppwizard.psf?root=Technology_Project&view=log "eppwizard.psf"] file and save it to your local machine (Note: get at least version 1.6, ViewVC has not updated it yet...).  In Eclipse go to File->Import->Team->Team Project Set and click on 'Next'.  In the next dialogue box click on 'Browse' and find the 'eppwizard.psf' file you downloaded earlier, then click on 'Finish' to import the set of projects that make up the EPP Wizard.  If you don't have write access to any of the repositories, use 'anonymous' as the user name and leave the password empty.
+
To checkout the EPP Wizard project download the [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.epp/plugins/org.eclipse.epp.wizard.releng/eppwizard.psf?root=Technology_Project&view=log "eppwizard.psf"] file and save it to your local machine (Note: get at least version 1.7, of even better: the latest version).  In Eclipse go to File->Import->Team->Team Project Set and click on 'Next'.  In the next dialogue box click on 'Browse' and find the 'eppwizard.psf' file you downloaded earlier, then click on 'Finish' to import the set of projects that make up the EPP Wizard.  If you don't have write access to any of the repositories, use 'anonymous' as the user name and leave the password empty.
  
 
=== Generate metadata (optional) ===
 
=== Generate metadata (optional) ===

Revision as of 11:08, 11 March 2009

Introduction

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


Setup

Sources

To checkout the EPP Wizard project download the "eppwizard.psf" file and save it to your local machine (Note: get at least version 1.7, of even better: the latest version). In Eclipse go to File->Import->Team->Team Project Set and click on 'Next'. In the next dialogue box click on 'Browse' and find the 'eppwizard.psf' file you downloaded earlier, then click on 'Finish' to import the set of projects that make up the EPP Wizard. If you don't have write access to any of the repositories, use 'anonymous' as the user name and leave the password empty.

Generate metadata (optional)

This step generates a metadata repository (essentially a file called content.xml) from IU definitions (see EPP/Obsolete/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/Obsolete/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.

Back to the top