失效链接处理 |
Bundle JRE along with your Product using Maven Tycho PDF 下载
本站整理下载:
提取码:2qqr
相关截图:
主要内容:
Bundle JRE along with your Product using Maven Tycho
While building a product, we would many a times desire to bundle the JRE along with it. The normal
Eclipse PDE Build takes care of it if we enable “Bundle JRE for this environment with the product” in the
launching tab of your product configuration file.
But while building the product using Tycho, this configuration is not considered. Therefore enabling or
disabling this checkbox in your product configuration doesn’t really help in bundling the JRE along with
your product.
Tycho uses the rootfiles concept of PDE Build. To read more on rootfiles, you could search on google to
get links to documentation withing eclipse.
Steps to be followed to include JRE during Maven Tycho Build
1. Copy the required JRE in a sub-folder inside your Feature Project.
For e.g. In the screenshot above 3 Folders are added to the feature project, precisely for linux-
64bit, windows-64bit, windows-32bit and copied respective JRE into each of these folders.
2. In the build.properties of your Feature Project you need to add the following lines
root.win32.win32.x86_64 = win32-64
root.linux.gtk.x86=linux-64
Author : Annamalai C
Date : September 6, 2013
root.win32.win32.x86=win32
Therefore your build.properties of Feature Project would look as shown below
3. Now run your parent pom to build your plugins, feature a
|