Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
WTP Releng BREEs
Revision as of 21:27, 27 May 2018 by Nboldt.redhat.com (Talk | contribs) (Created page with "To build WTP using toolchains: mvn clean install --global-toolchains ${WORKSPACE}/.maven/repo/toolchains.xml -t ${WORKSPACE}/.maven/repo/toolchains.xml To get a list of the...")
To build WTP using toolchains:
mvn clean install --global-toolchains ${WORKSPACE}/.maven/repo/toolchains.xml -t ${WORKSPACE}/.maven/repo/toolchains.xml
To get a list of the current Bundle-RequiredExecutionEnvironments (BREEs) used in WTP, run find.sh
find.sh . "*.MF" Bundle-RequiredExecutionEnvironment | grep Bundle-RequiredExecutionEnvironment | sed -e "s#[0-9]\+:Bundle-RequiredExecutionEnvironment: \(.\+\)#\1#" | sort | uniq
As of 2018-05-27, these BREEs appear this many times:
J2SE-1.4 x 51 J2SE-1.5 x 169 JavaSE-1.6 x 43 JavaSE-1.7 x 12 JavaSE-1.8 x 123
Here's a sample toolchains.xml file:
<?xml version="1.0" encoding="UTF8"?> <toolchains> <toolchain> <type>jdk</type> <provides> <version>1.8</version> <vendor>openjdk</vendor> </provides> <configuration> <jdkHome>/usr/lib/jvm/java-1.8.0-openjdk/</jdkHome> </configuration> </toolchain> <toolchain> <type>jdk</type> <provides> <version>9</version> <vendor>openjdk</vendor> </provides> <configuration> <jdkHome>/usr/lib/jvm/java-9-openjdk/</jdkHome> </configuration> </toolchain> </toolchains>