看到了最近一篇介绍RCP方面的文章,来源于http://ugosan.org/eclipse-rcp-delta-pack/
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.
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.
You have either
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-M20100211-1343-delta-pack.zip
Unpack it into any folder. I usually place inside my own eclipse directory, inside a folder called delta.
Go to Window -> Preferences -> Plug-in Development -> Target Platform and Edit your current Running Platform.
Click Add..
Select Installation
Browse for the folder where you extracted the delta pack (mine is inside my eclipse folder, inside a folder called delta.
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).
If you open up your .product definition, and click Add Required Plugins, you shall see all the plugins.
If you go at the Overview tab of your product, click Export Product export wizard, and there it is, Export to multiple platforms.Now you are able to generate your RCP product for any platform Eclipse is built for. Enjoy!