Skip to main content



      Home
Home » Archived » P2 dev » P2 update sites merge
P2 update sites merge [message #493692] Tue, 27 October 2009 11:05 Go to next message
Eclipse UserFriend
Hello all,

Does anyone know how I can merge two P2 repositories ?

Here is my situation:

I just packaged a new P2 update site, thanks to the "Export > Deployable features" tool of Eclipse (3.5).
Now I get locally a folder, containing one "features" and one "plugins" directory, and two jars named "artifact.jar" & "contents.jar"

But the problem is that I already have a repository on a server (in production mode) that can contain anything. Thus, in order to add my new features on the update site, it seems that I need to merge the two descriptors (artifacts.jar & contents.jar).

How can I do this ?
Do I have to maintain this manually, or do some tools exist to perform such action ?

Thanks in advance for your replies.

Best Regards,

Maxence VANBESIEN

Re: P2 update sites merge [message #521583 is a reply to message #493692] Thu, 18 March 2010 04:19 Go to previous messageGo to next message
Eclipse UserFriend
We have similar situation, we build a set of products increasing version, and at the end merge new into existing repository.

You can do this simply using p2.mirror task (artifacts are merged automatically).

My example code at the end of headless build.
		<p2.mirror source="${p2.build.repo}">
			<destination kind="metadata" location="${p2.repo.location}" compressed="${p2.compress}" name="${p2.metadata.repo.name}" />
			<destination kind="artifact" location="${p2.repo.location}" compressed="${p2.compress}" name="${p2.artifact.repo.name}" />
			<slicingoptions includeoptional="false" />
		</p2.mirror>


Task is explain in eclipse help.
Re: P2 update sites merge [message #895020 is a reply to message #493692] Wed, 11 July 2012 08:35 Go to previous message
Eclipse UserFriend
Yeah, i have the same problem... any solution?
Previous Topic:Headless Update of Embedded Update Site
Next Topic:Associated site is not enabled
Goto Forum:
  


Current Time: Wed Jul 02 03:33:55 EDT 2025

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

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

Back to the top