Skip to main content
Jump to: navigation, search

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

< EPP‎ | Wizard
(New page: == 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 https://bugs.eclipse.o...)
 
Line 3: Line 3:
 
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 https://bugs.eclipse.org/bugs/show_bug.cgi?id=244666].
 
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 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 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 ==
 
== Setup ==
Line 17: Line 8:
 
=== Sources ===
 
=== Sources ===
  
'''Unfortunately, as of yet not in CVS, waiting for IP process clearance (cf. [https://bugs.eclipse.org/bugs/show_bug.cgi?id=244666 https://bugs.eclipse.org/bugs/show_bug.cgi?id=244666])'''
+
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...)
 
+
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 ===
+
=== Generate metadata (optional) ===
  
 
This step generates a metadata repository (essentially a file called content.xml) from IU definitions (see [[../Proposal for better P2 Integration]]).
 
This step generates a metadata repository (essentially a file called content.xml) from IU definitions (see [[../Proposal for better P2 Integration]]).
  
This step can be started with the Launch configuration "Metadata generator.launch"
+
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)
  
 
=== Configuration ===
 
=== Configuration ===
Line 37: Line 22:
 
== Starting ==
 
== 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 http://localhost:8008/rap].
+
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 http://localhost:8008/rap].

Revision as of 09:46, 28 August 2008

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.


Setup

Sources

Sources can be obtained from the Team project set "eppwizard.psf" in the releng package here (Note: get at least version 1.3, 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)

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