Eclipse RCP——Installing the Eclipse RCP Delta pack in 7 steps 完善

时间:2023-01-19 23:30:41

I’ve decided to write this little step-by-step illustrated guide to help out some fellows who were always having trouble on exporting Eclipse products for multiple platforms. This is a little different from the steps you find here and here.

What is the Delta Pack?

It’s a zipped Eclipse package with all the needed plugins to export your RCP product to many platforms (Windows, Linux, Mac, and so on) without having to do that on a platform’s native Eclipse installation. The archive contains all the platform specific fragments from the Eclipse SDK.

Situation

You have either

  • a .product of an already existing project (I will use Sketch product for Shapes Application as the example here)
  • you have your .product with your native installation dependencies and want to export to multiple platforms
Eclipse RCP——Installing the Eclipse RCP Delta pack in 7 steps  完善First, check your version

First of all, check your Eclipse version, the delta pack you will download must have the exact same version, which means (yes) you will need to download another delta pack in case you update your Eclipse. But fortunately the steps are really easy to follow.

In my case, the version is Galileo 3.5.2 and the build is M20100211-1343, so look for that delta pack. Googling “delta pack <build name>” should give you the link, the file is usually like eclipse-M201002111343deltapack.zip

Unpack it into any folder. I usually place inside my own eclipse directory, inside a folder called delta.

 注:国内delta pack的下载方式  路径: http://archive.eclipse.org/eclipse/downloads/drops4/

Eclipse RCP——Installing the Eclipse RCP Delta pack in 7 steps  完善选择相对应版本即可

 


 

Adding the delta pack to your Running Platform

1) Go to Window -> Preferences -> Plug-in Development -> Target Platform and Edit your current Running Platform.

Eclipse RCP——Installing the Eclipse RCP Delta pack in 7 steps  完善


2) Click Add..

Eclipse RCP——Installing the Eclipse RCP Delta pack in 7 steps  完善

 


 

3) Select Installation

Eclipse RCP——Installing the Eclipse RCP Delta pack in 7 steps  完善


4) Browse for the folder where you extracted the delta pack (mine is inside my eclipse folder, inside a folder called delta.

Eclipse RCP——Installing the Eclipse RCP Delta pack in 7 steps  完善


5) It will show all the packages for all platforms. See the swt for win32 64 bits, linux and everything. Click Finish and it will reload your platform (it might take a while).

Eclipse RCP——Installing the Eclipse RCP Delta pack in 7 steps  完善


6) If you open up your .product definition, and click Add Required Plugins, you shall see all the plugins.

Eclipse RCP——Installing the Eclipse RCP Delta pack in 7 steps  完善


7) If you go at the Overview tab of your product, click Export Product export wizard, and there it is, Export to multiple platforms.

Eclipse RCP——Installing the Eclipse RCP Delta pack in 7 steps  完善

Now you are able to generate your RCP product for any platform Eclipse is built for. Enjoy!