Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Is building own distribution by p2 is correct way?
Is building own distribution by p2 is correct way? [message #875828] Wed, 23 May 2012 11:50 Go to next message
Tomasz Kowalski is currently offline Tomasz KowalskiFriend
Messages: 3
Registered: May 2012
Junior Member
Hi.

I want to build own eclipse distribution that includes some common plugins (like wtp) and plugins build by my own. I know that if I will install additional plugins to my installed eclipse and next I zip them, then there will be some metadata in plugins that shouldn't be there. If I will use p2 director to install eclipse and all other plugins that I want then zip it, will I bypass such problems like after packing my own eclipse?

Or maybe I try to resolve problem in wrong way? Maybe I should use some other tools to build distribution?

BR
Re: Is building own distribution by p2 is correct way? [message #875894 is a reply to message #875828] Wed, 23 May 2012 13:59 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 2012-23-05 13:50, Tomasz Kowalski wrote:
> Hi.
>
> I want to build own eclipse distribution that includes some common
> plugins (like wtp) and plugins build by my own. I know that if I will
> install additional plugins to my installed eclipse and next I zip them,
> then there will be some metadata in plugins that shouldn't be there. If
> I will use p2 director to install eclipse and all other plugins that I
> want then zip it, will I bypass such problems like after packing my own
> eclipse?
>
> Or maybe I try to resolve problem in wrong way? Maybe I should use some
> other tools to build distribution?
>
> BR

In general:
- Build product against a p2 repo that supports all platforms.
- Install with director for specific platform.
- Zip up result and distribute.
- Provide your p2 repository as update site.

For cloudsmith/geppetto @ github, we do this. We have a composite
repository that consists of all releases. When we make a new release
build, we simply add it to the composite.

Our build uses Buckminster, so everything is automated - a build
produces a p2 repository and zips for 4 different platforms. Everything
is in the geppetto git repository (except our jenkins setup) if you are
interested in more details about how we do things...

Regards
- henrik
Re: Is building own distribution by p2 is correct way? [message #876687 is a reply to message #875894] Fri, 25 May 2012 05:38 Go to previous message
Tomasz Kowalski is currently offline Tomasz KowalskiFriend
Messages: 3
Registered: May 2012
Junior Member
Thanks for reply. I'll check your repo, hopefully I will learn something Smile.

BR
Tomek
Previous Topic:Perform site.xml "Build All" programmatically
Next Topic:Usage of dropins in RCP fails after renaming installation location
Goto Forum:
  


Current Time: Mon Dec 09 10:29:31 GMT 2024

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

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

Back to the top