Generic p2 mirror [message #494155] |
Thu, 29 October 2009 12:16 |
Bob Walker 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 |
Roland Tepp 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
|
|
|
Powered by
FUDForum. Page generated in 0.03892 seconds