Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Huge export size of RCP p2 enabled product
Huge export size of RCP p2 enabled product [message #544950] Tue, 06 July 2010 08:13 Go to next message
Marcel Austenfeld is currently offline Marcel AustenfeldFriend
Messages: 160
Registered: July 2009
Senior Member
I like to use the new p2 interface for my rcp application.
I can successfully export my application (product based)
but the size of the export is really huge in contrast to the export
of the application with the old update manager (old: 130 mb new: ca. 450 mb).
What i don't understand is that the plugins are available two times (in the plugins folder and also as *.jars in the repository/plugins folder).
Do i need the *.jars (plugins) in the repository folder? Is there a way to decrease the export size of an rcp application?

Any help is appreciated!

Re: Huge export size of RCP p2 enabled product [message #545066 is a reply to message #544950] Tue, 06 July 2010 14:47 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
When you export your product with p2 metadata, you are actually getting two
things: your product and a p2 repository that contains your product.

You can take the repository/ folder and put it somewhere so people can do
updates when build future versions, you don't need to keep it with the
eclipse/ folder that contains the product itself.

Marcel wrote:

> I like to use the new p2 interface for my rcp application.
> I can successfully export my application (product based)
> but the size of the export is really huge in contrast to the export
> of the application with the old update manager (old: 130 mb new: ca. 450
> mb). What i don't understand is that the plugins are available two times
> (in the plugins folder and also as *.jars in the repository/plugins
> folder). Do i need the *.jars (plugins) in the repository folder? Is there
> a way to decrease the export size of an rcp application?
>
> Any help is appreciated!
Re: Huge export size of RCP p2 enabled product [message #545199 is a reply to message #545066] Wed, 07 July 2010 06:58 Go to previous messageGo to next message
Marcel Austenfeld is currently offline Marcel AustenfeldFriend
Messages: 160
Registered: July 2009
Senior Member
So i can ship the RCP product without the repository/ but with a full functioning p2 update manager for third party plugins?
Re: Huge export size of RCP p2 enabled product [message #545395 is a reply to message #545199] Wed, 07 July 2010 15:37 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Yes, you only need to ship the eclipse/ folder.
In particular, it is the eclipse/p2/ folder that is required for a
functioning p2 update manager.

Marcel wrote:

> So i can ship the RCP product without the repository/ but with a full
> functioning p2 update manager for third party plugins?
Re: Huge export size of RCP p2 enabled product [message #545656 is a reply to message #545395] Thu, 08 July 2010 14:16 Go to previous message
Marcel Austenfeld is currently offline Marcel AustenfeldFriend
Messages: 160
Registered: July 2009
Senior Member
Thank you very much for this useful information and your fast reply.

Regards

Marcel
Re: Huge export size of RCP p2 enabled product [message #561604 is a reply to message #545066] Wed, 07 July 2010 06:58 Go to previous message
Marcel Austenfeld is currently offline Marcel AustenfeldFriend
Messages: 160
Registered: July 2009
Senior Member
So i can ship the RCP product without the repository/ but with a full functioning p2 update manager for third party plugins?
Re: Huge export size of RCP p2 enabled product [message #561639 is a reply to message #545199] Wed, 07 July 2010 15:37 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Yes, you only need to ship the eclipse/ folder.
In particular, it is the eclipse/p2/ folder that is required for a
functioning p2 update manager.

Marcel wrote:

> So i can ship the RCP product without the repository/ but with a full
> functioning p2 update manager for third party plugins?
Re: Huge export size of RCP p2 enabled product [message #561658 is a reply to message #545395] Thu, 08 July 2010 14:16 Go to previous message
Marcel Austenfeld is currently offline Marcel AustenfeldFriend
Messages: 160
Registered: July 2009
Senior Member
Thank you very much for this useful information and your fast reply.

Regards

Marcel
Previous Topic:Copying across executables as part of P2 installation
Next Topic:Multipe URLs in p2.repo property of runDirector task
Goto Forum:
  


Current Time: Tue Apr 23 13:03:55 GMT 2024

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

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

Back to the top