Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » merge new build into p2 repository?
merge new build into p2 repository? [message #534423] Wed, 19 May 2010 06:53 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
I am using buckminster to generate a p2 site for 2 EMF projects. My question, does buckminster (or another tool you know
of maybe?) support merging the generated p2 site with an existing update site?

How does the Buckminster build process do it? (if it does can you point me to some specific parts of the build script to
check out)

--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: merge new build into p2 repository? [message #534449 is a reply to message #534423] Wed, 19 May 2010 09:05 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Did you look at the b3 aggregator? It aggregates and mirrors p2
repositories, and you have multiple options on how to compose the
aggregation (merge, compose, mirror), and lots more.

And it runs headless too.

- henrik
Martin Taal <mtaal@elver.org> wrote:
> Hi,
> I am using buckminster to generate a p2 site for 2 EMF projects. My
> question, does buckminster (or another tool you know of maybe?)
> support merging the generated p2 site with an existing update site?
>
> How does the Buckminster build process do it? (if it does can you
> point me to some specific parts of the build script to check out)
>


--
- henrik
Re: merge new build into p2 repository? [message #534482 is a reply to message #534449] Wed, 19 May 2010 10:28 Go to previous message
Michal Ruzicka is currently offline Michal RuzickaFriend
Messages: 23
Registered: July 2009
Junior Member
Dne 19.5.2010 11:05, Henrik Lindberg napsal(a):
> Did you look at the b3 aggregator? It aggregates and mirrors p2
> repositories, and you have multiple options on how to compose the
> aggregation (merge, compose, mirror), and lots more.
>
> And it runs headless too.
>
> - henrik
> Martin Taal<mtaal@elver.org> wrote:
>> Hi,
>> I am using buckminster to generate a p2 site for 2 EMF projects. My
>> question, does buckminster (or another tool you know of maybe?)
>> support merging the generated p2 site with an existing update site?
>>
>> How does the Buckminster build process do it? (if it does can you
>> point me to some specific parts of the build script to check out)
>>
>
>
If your intention is to really merge the repositories (i.e. to have only
one set of content.jar, artifacts.jar and corresponding features and
plugins subdirectories) then the b3 aggregator is the way to go.

On the other hand if your intention is to create a composite repository
then you may want to leverage the <p2.composite.repository> ant task to
manage the composite repository. This is what we use in the EMF Core
build promotion script
( http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf/releng/org.eclipse.emf.releng.buckminster/promo ter.ant?root=Modeling_Project&view=markup).

Please note that the ant task is provided by the
org.eclipse.equinox.p2.repository.tools bundle which is not a standard
part of any buckminster feature so you'll need to mention it as one of
the IUs to install when installing Buckminster using p2 director.

Here are some pointers to p2 ant tasks documentation:
http://wiki.eclipse.org/Equinox/p2/Ant_Tasks
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/p2_repositorytasks.htm

HTH
Michal
Previous Topic:.qualifier "ignored" in plugins
Next Topic:site.p2.zip signing problem
Goto Forum:
  


Current Time: Tue Apr 23 15:06:37 GMT 2024

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

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

Back to the top