Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » P2 Repo Mirroring - more than one mirror thro' a single command
P2 Repo Mirroring - more than one mirror thro' a single command [message #116019] Thu, 14 August 2008 14:11 Go to next message
Suganya Devi is currently offline Suganya DeviFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,
My Application has P2 enabled update manager. I'm trying to create mirrors for P2 repository. The mirrors (for my application' update site) has to be created for different locations. I'm curious to know, if its possible to create all the mirrors at one shot using single command. What I mean is I don't want to execute the command for creating each mirror.

<i>eclipse -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source file: source url -destination file: target url

eclipse -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source file: source url -destination file: target url</i>


Also I would like to know if its possible to create mirrors thro' ant script. Bcoz I know that its possible to create P2 repository thro' ant script.
Re: P2 Repo Mirroring - more than one mirror thro' a single command [message #116115 is a reply to message #116019] Fri, 15 August 2008 13:54 Go to previous messageGo to next message
Benson Wong is currently offline Benson WongFriend
Messages: 3
Registered: July 2009
Junior Member
Hello,

I am a bit confused from your example of "all". If by all you mean both
metadata and artifacts then you can achieve this by using the Repository
Mirroring tool:
http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring

If by all you mean more than one metadata destination (or artifact) then
this is not implemented.

I'm not sure of ant script usage.

Hope this helps,
Ben
Re: P2 Repo Mirroring - more than one mirror thro' a single command [message #116128 is a reply to message #116115] Fri, 15 August 2008 15:05 Go to previous messageGo to next message
Suganya Devi is currently offline Suganya DeviFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,
Thank you for your reply.

"By All" what I mean is, say If I want to create 3 different target mirror sites for my P2 repository. Something like the below,

eclipse -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source file: source url -destination <b>file: target url(1), file: target url(2), ...file: target url(n)</b>
Re: P2 Repo Mirroring - more than one mirror thro' a single command [message #116153 is a reply to message #116128] Fri, 15 August 2008 17:50 Go to previous messageGo to next message
Benson Wong is currently offline Benson WongFriend
Messages: 3
Registered: July 2009
Junior Member
Please enter a bug report for this enhancement.
Re: P2 Repo Mirroring - more than one mirror thro' a single command [message #116192 is a reply to message #116153] Mon, 18 August 2008 11:52 Go to previous messageGo to next message
Suganya Devi is currently offline Suganya DeviFriend
Messages: 21
Registered: July 2009
Junior Member
Thank you for your help. I will raise an enhancement request.


Could you please help me for my other post on P2,
http://www.eclipsezone.com/eclipse/forums/t112951.html
Re: P2 Repo Mirroring - more than one mirror thro' a single command [message #116217 is a reply to message #116153] Mon, 18 August 2008 19:09 Go to previous message
Suganya Devi is currently offline Suganya DeviFriend
Messages: 21
Registered: July 2009
Junior Member
I have raised an enhancement request,

https://bugs.eclipse.org/bugs/show_bug.cgi?id=244420
Previous Topic:Automatic/Dynamic mirror selection in P2 enabled Update Manager
Next Topic:Re: Problem starting OSGI with framework.extension
Goto Forum:
  


Current Time: Fri Apr 19 18:31:54 GMT 2024

Powered by FUDForum. Page generated in 0.03163 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top