Tuesday, 19 April 2016

[RCP] How to Build Multiple Platform in Eclipse Mars (Eclipse Mars 이후 버전 Multiple Platform 설정)

 Eclipse RCP는 하나의 Source로 다양한 Platform(Windows/x86, Linux/x86, Linux/ppc, AIX/ppc, HP-UX/ia64, MACOSX/x86, Solais/Sparc)에 맞춰 빌드할 수 있다.
 Mars(4.5) 버전 이전에는 개발하는 Eclipse 버전에 맞는 delta pack을 다운로드 받아 Target Platform에 추가해줬다. 그러나 Mars 이후로는 더 이상 delta pack을 지원하지 않는다.

 Previously, before the Mars release, you could install the RCP delta pack in your Target Platform (which was downloadable as a zip file, from the download page).
 In the Mars release, that delta pack zip file is no longer available on the download page. The reason for removing it was that p2 can be used instead, so it saves complications in the Platform build, and does not take up redundant space making the same stuff available in multiple ways.

Way to build multi-platform in Mars


1. Open Window/Preferences.

2. Find PDE/Target Platform
3. Select your (active) target platform
4. Click Edit

5. Click Add






















6. Select "Software Site" and Click Next















7. Click Next
In "Work With" type: http://download.eclipse.org/eclipse/updates/4.5 (replace 4.5 with your current version)









8. Check "Eclipse RCP Target Components", "Equinox Target Components", "Include all environments" and Uncheck "Include required software"
































9. Open your product file and select the "Export" option.




10.You will see that the "Export for multiple platforms" checkbox is available.



















11. Check platform(s) you want to build.

No comments:

Post a Comment