码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2017-07-10 16:38:32      阅读:302      评论:0      收藏:0      [点我收藏+]

标签:export   ack   install   logs   int   build   different   rate   rcp   

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
技术分享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/

技术分享选择相对应版本即可

 


 

Adding the delta pack to your Running Platform

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

技术分享


2) Click Add..

技术分享

 


 

3) Select Installation

技术分享


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

技术分享


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).

技术分享


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

技术分享


7) 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!

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

标签:export   ack   install   logs   int   build   different   rate   rcp   

原文地址:http://www.cnblogs.com/yunxiaguo/p/7145888.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!