Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Generic p2 mirror
Generic p2 mirror [message #494155] Thu, 29 October 2009 12:16 Go to next message
Bob Walker is currently offline Bob WalkerFriend
Messages: 31
Registered: July 2009
Member
Hi,

Am I right in thinking that you can't copy p2 repositories across servers?

I want to build a generic p2 update repo for my product with buckminster and then deploy it on to customers internal web servers so that they don't have to contact my repo externally.

However, at build time, I don't know, and don't have access to, whatever servers I may deploy to.

If I simply do a file copy of a repo, when I serve it from a different server with a different filesystem/directory structure, I got lots of "Unable to write to repository:" / "java.io.IOException: Failed to create directory" errors mentioning specific paths on my internal build/repo server.

I guess p2 mirroring is the correct way to go, but all the examples I've seen only mention mirroring to a known/accessible URI - is there a way to mirror to a generic, copyable repo?
Re: Generic p2 mirror [message #522965 is a reply to message #494155] Wed, 24 March 2010 16:09 Go to previous message
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
I might be wrong, but from what little I understand about p2 mirroring,
you can always create a locall repo by mirroring all the content of the
source repos you need and then package up the local repo and deliver it
to wherever you need it.

Ath the destination you simply unpack it and use as a p2 repo in it's
own right.

29.10.2009 14:16, Bob Walker kirjutas:
> Hi,
>
> Am I right in thinking that you can't copy p2 repositories across servers?
>
> I want to build a generic p2 update repo for my product with buckminster
> and then deploy it on to customers internal web servers so that they
> don't have to contact my repo externally.
> However, at build time, I don't know, and don't have access to, whatever
> servers I may deploy to.
> If I simply do a file copy of a repo, when I serve it from a different
> server with a different filesystem/directory structure, I got lots of
> "Unable to write to repository:" / "java.io.IOException: Failed to
> create directory" errors mentioning specific paths on my internal
> build/repo server.
>
> I guess p2 mirroring is the correct way to go, but all the examples I've
> seen only mention mirroring to a known/accessible URI - is there a way
> to mirror to a generic, copyable repo?


--
Roland Tepp
Previous Topic:ConfigAdmin and DS Component Factory
Next Topic:Error when mirroring GEF 3.5.2 p2 repository
Goto Forum:
  


Current Time: Thu Mar 28 23:41:44 GMT 2024

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

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

Back to the top