From ad26f668c218927835dcc32f63adf55a8ce3e809 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 19 Jun 2018 12:31:40 -0700 Subject: sdk-manual: Updates to Neon intalling YP plug-in from latest source I provided similar wordings in places in this section as were provided in the parallel "oxygen" section. (From yocto-docs rev: f4fd33d10363ab84f1f76d3e4bf115df45aef77c) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/sdk-manual/sdk-appendix-neon.xml | 51 +++++++++++++++----------- 1 file changed, 30 insertions(+), 21 deletions(-) (limited to 'documentation/sdk-manual') diff --git a/documentation/sdk-manual/sdk-appendix-neon.xml b/documentation/sdk-manual/sdk-appendix-neon.xml index a2f08ec5e7..afb541bdb8 100644 --- a/documentation/sdk-manual/sdk-appendix-neon.xml +++ b/documentation/sdk-manual/sdk-appendix-neon.xml @@ -212,8 +212,14 @@ To install the Neon Eclipse Yocto Plug-in from the latest source code, follow these steps: - Be sure your development system - has JDK 1.8+ + + Be sure your build host has JDK version 1.8 + or greater. + On a Linux build host you can determine the + version using the following command: + + $ java -version + install X11-related packages: @@ -227,18 +233,19 @@ $ git clone git://git.yoctoproject.org/eclipse-yocto - Use Git to checkout the correct - tag: + + Use Git to create the correct tag: $ cd ~/eclipse-yocto - $ git checkout neon/yocto-&DISTRO; + $ git checkout -b neon/&DISTRO_NAME_NO_CAP; remotes/origin/neon/&DISTRO_NAME_NO_CAP; This creates a local tag named - neon/yocto-&DISTRO; based on - the branch origin/neon-master. - This puts you in a detached HEAD state, which - is fine since you are only going to be building - and not developing. + neon/&DISTRO_NAME_NO_CAP; + based on the branch + origin/neon/&DISTRO_NAME_NO_CAP;. + You are put into a detached HEAD state, + which is fine since you are only going to + be building and not developing. Change to the scripts @@ -259,20 +266,22 @@ directory of the Git repository created earlier. - Run the build.sh + + Run the build.sh script as directed. - Be sure to provide the tag name, documentation - branch, and a release name. - - Following is an example: + Be sure to provide the tag name, + documentation branch, and a release name. + + Following is an example: - $ ECLIPSE_HOME=/home/scottrif/eclipse-yocto/scripts/eclipse ./build.sh -l neon/yocto-&DISTRO; master yocto-&DISTRO; 2>&1 | tee build.log + $ ECLIPSE_HOME=/home/scottrif/eclipse-yocto/scripts/eclipse ./build.sh -l neon/&DISTRO_NAME_NO_CAP; master yocto-&DISTRO; 2>&1 | tee build.log - The previous example command adds the tag you - need for neon/yocto-&DISTRO; - to HEAD, then tells the - build script to use the local (-l) Git checkout - for the build. + The previous example command adds the tag + you need for + neon/&DISTRO_NAME_NO_CAP; + to HEAD, then tells + the build script to use the local (-l) Git + checkout for the build. After running the script, the file org.yocto.sdk-release-date-archive.zip is in the current directory. -- cgit v1.2.3-54-g00ecf