Skip to main content
Jump to: navigation, search

Equinox p2 Repository Mirroring


talk about repos the idea of mirroring

This example demonstrates how to mirror a repository using the repository mirror application available in the equinox p2 tools.

Getting the Mirroring Tools

Get the p2 agent from the provisioning section of: [1].

Running the Mirroring Tools

Run from the command line by running the Admin tool with the args you have below (e.g. eclipse.exe -application -source ...).

The attached example performs the basic mirroring of an artifact and metadata repository into a target repository. The target repository will be an exact mirror of the source repositories. This means any information on the target repository prior to mirroring will be lost, and if there is no target repository to begin with then a new repository will be created.

-console -consolelog -application -source Insert Source URL (e.g. -destination Insert Destination URL (e.g. file:/tmp/3.4milestonesMirror/) -ius all -artifacts all -overwrite

For more selective mirroring (or copying) of exclusively metadata or artifacts see example <Link>

Copyright © Eclipse Foundation, Inc. All Rights Reserved.