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

Equinox/p2/Getting Started

Getting the code

  1. Create a CVS repository connection to ":pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse". Hint: Select the quoted text, open the CVS Repositories view, and select "Paste Connection" or hit Ctrl+V to add the connection
  2. Expand HEAD -> equinox-incubator > provisioning
  3. Checkout org.eclipse.equinox.prov.releng
  4. File > Import > Team Project Set. Select "projectSet.psf" in the releng project checked out above
  5. Follow the instructions in com.thoughtworks.xstream/README.txt to load the xstream code (this is temporary until we sort out a story for XML serialization)

Running the tests

First, you need to populate an artifact and metadata server with some installable units to install. Do this by running the "Metadata Generator SDK" launch configuration in the "OSGi Framework" launch category. You may need to alter some of the properties on the "Arguments" tab in the launch configuration dialog before you run. At the least you will probably need to modify the argument "-Declipse.prov.metadataGenerator.eclipseBase=" to point to a valid Eclipse SDK install. 3.3 M6 is a good build to use as the eclipse base.

Next, run the provisioning by executing the "Test Director SDK" launch configuration. Again, you may need to tweak some of the launch configuration arguments based on your local drive structure.

Using the console

To use the provisioning console, you can run the "Provisioning Console" launch configuration. Type "help" on the console to get a list of available commands.

Back to the top