Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Minimal RCP package
Minimal RCP package [message #466546] Fri, 20 April 2007 10:42 Go to next message
Eclipse UserFriend
Hi everyone,

actually I'm developing several RCP applications. What I want to make the final application package as little as possible : I want just to include the jars for the plugin I have developed and exclude all the jars that come from the eclipse platform.

I want my application to be able to use the jars from my eclipse install. Is there a way to configure the config.ini of my applications to load the platform relative jars from the eclipse folder install so I can remove them from my plugin.

I hope that I'm clear

Thanks
Re: Minimal RCP package [message #466548 is a reply to message #466546] Fri, 20 April 2007 12:55 Go to previous messageGo to next message
Eclipse UserFriend
That's what the RCP download is for; it's a minimal set of plugins. You should develop/test against that.

Alex
Re: Minimal RCP package [message #466558 is a reply to message #466546] Fri, 20 April 2007 16:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rhafernik.site-controls.com

As Alex said, that's what the RCP download is for. It's the minimum
set that can do anything useful.

If you want your application to use your Eclipse install, then you
should probably package it as a plugin rather than an RCP application.

~rob
Re: Minimal RCP package [message #466610 is a reply to message #466558] Sun, 22 April 2007 17:49 Go to previous messageGo to next message
Eclipse UserFriend
Hi all,

thank you for your responses but I will clarify more what are my needs.

I have to create several RCP applications and deliver them to my client. My client have the RCP download installed let's say in c:\RCP

Each time I deliver a new application I have to provide him with a 10Mo or + package which contains my jar plugin and a set of repetitive jars that are relative to the RCP platform.

I want to be able to deliver a minimal package with just the jars I have developed and the eclipse launcher and do the right modifications in config files so my application will load the necessary platform jars from the RCP download wich is installed it will make my deliverables really smaller since I will not deliver each time the same patform relative jars.

I hope this is more clear

Thank you all
Re: Minimal RCP package [message #466612 is a reply to message #466610] Mon, 23 April 2007 01:25 Go to previous messageGo to next message
Eclipse UserFriend
The RCP is only about 6-8Mb, I think.

If you only need to ship them your feature(s), then just ship them those. Of course, you'll lose all of the customisation stuff if you're launching a .product.

Alternatively, make them available via an update site, and just get them to use that instead; that way, they'll just download what they need.

Alex.
Re: Minimal RCP package [message #466620 is a reply to message #466612] Mon, 23 April 2007 04:16 Go to previous messageGo to next message
Eclipse UserFriend
Hi
I will explain deeper my problem.

My clients are not computer professionals, so I don't want them to care about installing eclipse, or any features or using any update site. All what I need is to ship them a zip file, they extract it, and just run it.

I have to develop a lot of RCP applications and I want them to be directly executable application so I don't want to ship features or plugins that need to be installed on the eclipse installation (since my client doesn't know about eclipse)

When shipping these applications from the eclipse export plugin, I obtain large packages (because I am using swt, gef, draw2d and more ...) with plugins that I have developed and mostly plugins that come from the platform itself.

So I have been thinking in a way that I can install a central eclipse instance on my clients filetree and also install on it all the common plugins that I want (GEF, draw2d ...) and then deliver an executable package with only the plugins that I have developed and this package will load all the other required plugins (platform, GEF ...) from the eclipse installation that is on his filetree.

In other words, a single eclipse installation with all common stuff on it, and a set of single executable applications loading their own plugins and their dependencies from the eclipse install. (I saw that in config.ini that the required plugins are listed, I have tried to put the complete path to the plugins located in my eclipse but it doesn't work, any help ?)


I hope that my problem is clearer and that you will be able to help me

Thanks again
Nocif
Re: Minimal RCP package [message #466621 is a reply to message #466620] Mon, 23 April 2007 04:28 Go to previous messageGo to next message
Eclipse UserFriend
SO in what way is your way different then providing your own code to do
the update?
You could preconfigure your update site and provide a rcp base
installation with that update site pre configured. Then periodically
check for updates (No user interaction) and if you have them download them.
Another way is to provide an installer for your plugin that is capable
of downloading the required jars from the internet on a need to have
basis. Webstart would also be an option.
All three scenarios do not require the user to know anything about RCP.

Regards
Stefan

Nocif schrieb:
> Hi
> I will explain deeper my problem.
>
> My clients are not computer professionals, so I don't want them to care about installing eclipse, or any features or using any update site. All what I need is to ship them a zip file, they extract it, and just run it.
>
> I have to develop a lot of RCP applications and I want them to be directly executable application so I don't want to ship features or plugins that need to be installed on the eclipse installation (since my client doesn't know about eclipse)
>
> When shipping these applications from the eclipse export plugin, I obtain large packages (because I am using swt, gef, draw2d and more ...) with plugins that I have developed and mostly plugins that come from the platform itself.
>
> So I have been thinking in a way that I can install a central eclipse instance on my clients filetree and also install on it all the common plugins that I want (GEF, draw2d ...) and then deliver an executable package with only the plugins that I have developed and this package will load all the other required plugins (platform, GEF ...) from the eclipse installation that is on his filetree.
>
> In other words, a single eclipse installation with all common stuff on it, and a set of single executable applications loading their own plugins and their dependencies from the eclipse install. (I saw that in config.ini that the required plugins are listed, I have tried to put the complete path to the plugins located in my eclipse but it doesn't work, any help ?)
>
>
> I hope that my problem is clearer and that you will be able to help me
>
> Thanks again
> Nocif
Re: Minimal RCP package [message #466632 is a reply to message #466621] Mon, 23 April 2007 09:49 Go to previous messageGo to next message
Eclipse UserFriend
Hi Stefan,

I am pretty new to packaging RCP apps.

I wanted to know if these solutions are adapted for branded RCP products ?

Can you please explain me briefly the concepts and pros and cons of each method.

Correct me if I am wrong but I understood from your comment that my RCP install will be searching for the updates and installing them on the same RCP platform. What I want is to have many separated RCP product (I can lauch each one separately) but sharing all the same RCP install.

Thanks again

Nocif
Re: Minimal RCP package [message #466634 is a reply to message #466632] Mon, 23 April 2007 10:07 Go to previous messageGo to next message
Eclipse UserFriend
I think I understand where you are heading. Is there a special reason
why the different functionality of the RCP Products have to be in
separate RCPs?
I mean provide your branded RCP base and install your applications as
plugins into this one just as if your RCP was Eclipse.

Stefan

Nocif schrieb:
> Hi Stefan,
>
> I am pretty new to packaging RCP apps.
>
> I wanted to know if these solutions are adapted for branded RCP products ?
>
> Can you please explain me briefly the concepts and pros and cons of each method.
>
> Correct me if I am wrong but I understood from your comment that my RCP install will be searching for the updates and installing them on the same RCP platform. What I want is to have many separated RCP product (I can lauch each one separately) but sharing all the same RCP install.
>
> Thanks again
>
> Nocif
Re: Minimal RCP package [message #466728 is a reply to message #466634] Tue, 24 April 2007 05:05 Go to previous message
Eclipse UserFriend
Hi Stefan,

The main reason why the different functionalities of the RCP have to be in different RCPs is that they are completely different applications. So I don't want to mix all these functionalities in the same applications. Beside of that my clients are divided into several divisions so they will have each different applications.
But provided that these applications are all installed in a central shared filetree, I want to use the RCP package to smallen my deliverables to just what is specific to each application.

I hope that you can help me.

Nocif
Previous Topic:Editor/console icons
Next Topic:About Property tabbed
Goto Forum:
  


Current Time: Wed May 21 08:29:10 EDT 2025

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

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

Back to the top