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 Selective Mirroring"

(Running the Mirroring Tools)
(Removing all content from page)
 
Line 1: Line 1:
==Introduction==
 
  
This example demonstrates how to mirror exclusively metadata or artifact repositories using the repository mirror application available in the equinox p2 tools.
 
 
==Getting the Mirroring Tools==
 
 
Get the p2 agent from the provisioning section of: [http://download.eclipse.org/eclipse/equinox/drops/S-3.4RC3-200805301730/index.php#Provisioning Equinox Stable Build: 3.4RC3].
 
 
==Selective Mirroring Example==
 
 
Using the command line run the Admin tool with the args you have below (e.g. eclipse.exe -application org.eclipse.equinox.p2.tools.MirrorApplication -metadatasource ...).
 
 
This example performs the mirroring of an artifact, or metadata repository into a target repository. The target repository will be an exact mirror of the source (metadata or artifacts).  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.
 
 
For metadata only:
 
 
  -console -consolelog -application org.eclipse.equinox.p2.tools.MirrorApplication
 
  -metadatasource <nowiki>http://download.eclipse.org/eclipse/updates/3.4milestones/</nowiki>
 
  -metadatadestination file:/tmp/3.4milestonesMirror/
 
  -ius all
 
  -overwrite
 
 
 
For artifacts only:
 
 
  -console -consolelog -application org.eclipse.equinox.p2.tools.MirrorApplication
 
  -artifactsource <nowiki>http://download.eclipse.org/eclipse/updates/3.4milestones/</nowiki>
 
  -artifactdestination file:/tmp/3.4milestonesMirror/
 
  -artifacts all
 
  -overwrite
 
 
In the future this mirroring application will be capable of taking an IU, and additionally mirror all referenced IUs resulting in minimal mirrors of specific IUs (e.g. ask for org.eclipse.ide.sdk and get a repo with everything needed to run the sdk).
 

Latest revision as of 09:26, 6 June 2008

Back to the top