Skip to main content



      Home
Home » Eclipse Projects » Equinox » Equinox p2 Repository Mirroring
Equinox p2 Repository Mirroring [message #112584] Thu, 26 June 2008 11:44 Go to next message
Eclipse UserFriend
Hi All,

I was just experimenting with the mirroring functionality as documented
here:

http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring

In the Getting the Mirroring Tools section it says:

"The mirroring application is part of the p2 Agent download available in
the provisioning section for a specific build in the Equinox downloads
site."

So I downloaded the following file:

http://ganymede-mirror2.eclipse.org/eclipse/equinox/drops/R- 3.4-200806172000/download.php?dropFile=equinox-p2-agent-3.4- win32.zip

I unzipped this and ran the eclipse.exe with the args, as documented, to
mirror Ganymede, just as a test.

eclipse.exe -application org.eclipse.equinox.p2.tools.MirrorApplication
-source http://download.eclipse.org/releases/ganymede/
-destination C:\tmp\ganymede
-ius all
-artifacts all
-verbose

I got this error:

java.lang.RuntimeException: Application
"org.eclipse.equinox.p2.tools.mirrorApplication" could not be found in the
registry. The applications available are:
org.eclipse.equinox.app.error,
org.eclipse.equinox.p2.artifact.repository.mirrorApplication ,
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator,
org.eclipse.equinox.p2.metadata.repository.mirrorApplication ,
org.eclipse.equinox.p2.reconciler.application,
org.eclipse.equinox.p2.ui.admin.rcp.application.

Can you tell me what's wrong here?

Thanks,

Miles
Re: Equinox p2 Repository Mirroring [message #112772 is a reply to message #112584] Fri, 27 June 2008 12:27 Go to previous messageGo to next message
Eclipse UserFriend
Hi Miles,

Miles Daffin a écrit :

> "The mirroring application is part of the p2 Agent download available in
> the provisioning section for a specific build in the Equinox downloads
> site."


The problem is that the org.eclipse.equinox.p2.tools bundle is *not*
included in the agent distribution... :-/
I advise you to use the "Mirroring repositories with p2" help page
(search for "mirroring") procedure:

<eclipseInstall>\eclipse.exe
-application
org.eclipse.equinox.p2.artifact.repository.mirrorApplication
-source http://download.eclipse.org/releases/ganymede
-destination file:d:/artifactLocalRepository/


Cheers,
Benjamin.
Re: Equinox p2 Repository Mirroring [message #112784 is a reply to message #112772] Fri, 27 June 2008 12:40 Go to previous messageGo to next message
Eclipse UserFriend
Benjamin CABE a écrit :

> I advise you to use the "Mirroring repositories with p2" help page

It's here:
< URL:http://help.eclipse.org/ganymede/index.jsp?topic=/org.ec lipse.platform.doc.isv/guide/p2_mirror.html>

Benjamin.
Re: Equinox p2 Repository Mirroring [message #112936 is a reply to message #112772] Mon, 30 June 2008 05:37 Go to previous messageGo to next message
Eclipse UserFriend
> The problem is that the org.eclipse.equinox.p2.tools bundle is *not*
> included in the agent distribution... :-/

This I know. Do you know which distribution it is included in, or has it
removed/retired?

> I advise you to use the "Mirroring repositories with p2" help page
> (search for "mirroring") procedure:

I will give this a go.

Thanks,

Miles
Re: Equinox p2 Repository Mirroring [message #112987 is a reply to message #112772] Mon, 30 June 2008 06:49 Go to previous messageGo to next message
Eclipse UserFriend
> I advise you to use the "Mirroring repositories with p2" help page
> (search for "mirroring") procedure:

> <eclipseInstall>eclipse.exe
> -application
> org.eclipse.equinox.p2.artifact.repository.mirrorApplication
> -source http://download.eclipse.org/releases/ganymede
> -destination file:d:/artifactLocalRepository/

This is fine but does not seem to be as flexible as the elusive
org.eclipse.equinox.p2.tools.MirrorApplication documented here:

http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring

This has arguments that allow one to control which IUs and artifacts get
mirrored. Does anyone know if there are other, undocumented ways of
narrowing the scope of a mirror op using these other tools?

Thanks,

Miles
Re: Equinox p2 Repository Mirroring [message #113229 is a reply to message #112987] Thu, 03 July 2008 11:48 Go to previous message
Eclipse UserFriend
Originally posted by: eclipseng.arthorne.com

That wiki page is for a new mirroring application that is not fully
completed. There is a bug report for adding this new mirroring app to
one of the downloads: https://bugs.eclipse.org/bugs/show_bug.cgi?id=237100.
--


Miles Daffin wrote:
>> I advise you to use the "Mirroring repositories with p2" help page
>> (search for "mirroring") procedure:
>
>> <eclipseInstall>eclipse.exe
>> -application
>> org.eclipse.equinox.p2.artifact.repository.mirrorApplication
>> -source http://download.eclipse.org/releases/ganymede
>> -destination file:d:/artifactLocalRepository/
>
> This is fine but does not seem to be as flexible as the elusive
> org.eclipse.equinox.p2.tools.MirrorApplication documented here:
>
> http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring
>
> This has arguments that allow one to control which IUs and artifacts get
> mirrored. Does anyone know if there are other, undocumented ways of
> narrowing the scope of a mirror op using these other tools?
>
> Thanks,
>
> Miles
>
Previous Topic:P2 Metadata generator broken?
Next Topic:Re: Classic Update Capability and P2
Goto Forum:
  


Current Time: Wed Aug 20 17:50:21 EDT 2025

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

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

Back to the top