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/MPC/Solution Provider Testing Guide"

< EPP‎ | MPC
(New page: == Overview == This guide provides information on howto test the install through the Eclipse Marketplcae client without adding or updating them on the productive site http://marketplace.ec...)
 
(This guide as webcast)
 
Line 33: Line 33:
  
 
== This guide as webcast ==
 
== This guide as webcast ==
See http://www.youtube.com/watch?v=INCX4NvaNQ
+
See http://www.youtube.com/watch?v=INCX4NvaNQc

Latest revision as of 10:57, 29 March 2012

Overview

This guide provides information on howto test the install through the Eclipse Marketplcae client without adding or updating them on the productive site http://marketplace.eclipse.org. While the resolving of the features and dependencies can be tested with the standard P2 mechanisms, the visual testing within the Eclipse Marketplace client can be done with the following guide.

Installing a minimalistic staging server

To test a solution in the Eclipse Marketplace Client a server endpoint is required that has registered solutions that are browsable with the MPC. You can download a test-server at http://sourceforge.net/projects/marketplace-cat/files/eclipse-staging-allinone/marketplace-staging.zip/download which includes a jetty container with a webfrontend and a REST interface which fullfills the contract specified here.

Start the server and register your plugin

Soultion details. Click to enlarge
  1. Extract the zip file
  2. Start the server by commandline with java -jar start.jar
  3. Naviagate with your browser to http://localhost:8080/marketplace/admin
  4. Login (admin/admin)
  5. Create minimalistic data on the server
    1. Create a market
    2. Create a category
    3. Create a platform (e.g. "Windows")
    4. Create a new solution
  6. Fill in the details of the solution (see screenshot)
  7. After you have saved the form you can add installable units (the features you want to install)
    • Type in the feature-ids of the features that should be installed with this solution
  8. Assign the solution to a category

Export the feature(s)

Now you can export the update site. Make sure that the update site points to the url you have entered in the created solution.

Launch an Eclipse instance

You can launch now a new Eclipse instance with MPC installed. To register your marketplace (and not the default ones) in Eclipse make sure you have set the following system property:

-Dorg.eclipse.epp.internal.mpc.core.service.DefaultCatalogService.url=http://localhost:8080

Open MPC

Now you can browse and install solutions from your own marketplace. Custom solution mpc.png

This guide as webcast

See http://www.youtube.com/watch?v=INCX4NvaNQc

Back to the top