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.
EPP/Obsolete/Wizard/Demonstration HowTo
Contents
Introduction
This wiki page outlines the steps necessary to run the EPP Wizard with the patches found in https://bugs.eclipse.org/bugs/show_bug.cgi?id=244666.
Prerequisites
RAP
As the EPP Wizard is an RAP RWT application, first get that following the instructions at: http://www.eclipse.org/rap/gettingstarted.php.
P2
It might be necessary to get the latest P2 code from CVS, especially for debugging. P2 is part of the Equinox project.
Setup
Sources
Unfortunately, as of yet not in CVS, waiting for IP process clearance (cf. https://bugs.eclipse.org/bugs/show_bug.cgi?id=244666)
Check out the following project from the EPP CVS:
- org.eclipse.epp.wizard
- org.eclipse.epp.wizard.installerbuilder
- org.eclipse.epp.wizard.model
- org.eclipse.epp.wizard.metadata.generator
Generate metadata
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"
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 (Jetty)" 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.