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 "Equinox p2 Repository Mirroring"

(New page: ==Introduction== 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. =...)
(No difference)

Revision as of 14:54, 5 June 2008

Introduction

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

pointer the the Admin download


Running the Mirroring Tools

running from the command line by running the Admin tool with the args you have below

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 org.eclipse.equinox.p2.tools.MirrorApplication -source Insert Source URL (e.g. http://download.eclipse.org/eclipse/updates/3.4milestones/) -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>

Back to the top