From 42f5b116dabfa116aa4cde5573244c2aabcc5ce7 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 3 Mar 2015 12:21:50 -0800 Subject: [PATCH] dev-manual: Updates to the "Working Within Eclipse" section. First edits to update this section to support the Luna version of Eclipse. I weeded out Juno, which leaves Luna as the preferred version and Kepler as a second version if they don't want to update to Luna. (From yocto-docs rev: 4f2dc237aa3498402cdf637ac2e85fdf0c3bf8a0) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-model.xml | 63 +++++++++++++------ 1 file changed, 43 insertions(+), 20 deletions(-) diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml index 7ae0423c67..dc4a540046 100644 --- a/documentation/dev-manual/dev-manual-model.xml +++ b/documentation/dev-manual/dev-manual-model.xml @@ -654,8 +654,8 @@ The Eclipse IDE is a popular development environment and it fully supports development using the Yocto Project. - This release of the Yocto Project supports both the Kepler - and Juno versions of the Eclipse IDE. + This release of the Yocto Project supports both the Luna + and Kepler versions of the Eclipse IDE. Thus, the following information provides setup information for both versions. @@ -708,18 +708,19 @@ Installing the Eclipse IDE - It is recommended that you have the Kepler 4.3.2 version of - the Eclipse IDE installed on your development system. - However, if you currently have the Juno 4.2 version + It is recommended that you have the Luna SR2 (4.4.2) + version of the Eclipse IDE installed on your development + system. + However, if you currently have the Kepler 4.3.2 version installed and you do not want to upgrade the IDE, you can - configure Juno to work with the Yocto Project. + configure Kepler to work with the Yocto Project. - If you do not have the Kepler 4.3.2 Eclipse IDE installed, - you can find the tarball at + If you do not have the Luna SR2 (4.4.2) Eclipse IDE + installed, you can find the tarball at . - From that site, choose the Eclipse Standard 4.3.2 version + From that site, choose the Luna SR2 4.3.2 version particular to your development host. This version contains the Eclipse Platform, the Java Development Tools (JDT), and the Plug-in Development @@ -734,7 +735,7 @@ using the default name eclipse: $ cd ~ - $ tar -xzvf ~/Downloads/eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz + $ tar -xzvf ~/Downloads/eclipse-java-luna-SR2-linux-gtk-x86_64.tar.gz @@ -757,24 +758,32 @@ select "Install New Software" from the "Help" pull-down menu. Select - Kepler - &ECLIPSE_KEPLER_URL; + Luna - &ECLIPSE_LUNA_URL; from the "Work with:" pull-down menu. - For Juno, select - Juno - &ECLIPSE_JUNO_URL; + For Kepler, select + Kepler - &ECLIPSE_KEPLER_URL; Expand the box next to "Linux Tools" and select the - LTTng - Linux Tracing Toolkit - boxes. + Linux Tools LTTng Tracer Control, + Linux Tools LTTng Userspace Analysis, + and + LTTng Kernel Analysis boxes. + + For Kepler, select the + LTTng - Linux Tracing Toolkit + box. + + Expand the box next to "Mobile and Device Development" and select the following boxes: C/C++ Remote Launch (Requires RSE Remote System Explorer) Remote System Explorer End-user Runtime Remote System Explorer User Actions - Target Management Terminal + Target Management Terminal (Core SDK) TCF Remote System Explorer add-in TCF Target Explorer @@ -814,12 +823,12 @@ Click "Add..." in the "Work with:" area. Enter - &ECLIPSE_DL_PLUGIN_URL;/kepler + &ECLIPSE_DL_PLUGIN_URL;/luna in the URL field and provide a meaningful name in the "Name" field. - If you are using Juno, use - &ECLIPSE_DL_PLUGIN_URL;/juno + If you are using Kepler, use + &ECLIPSE_DL_PLUGIN_URL;/kepler in the URL field. Click "OK" to have the entry added @@ -879,8 +888,13 @@ For example, if you are using Kepler, do the following: - $ git checkout kepler + $ git checkout luna-master + + If you are building kepler, checkout the + kepler-master + branch. + Change to the scripts @@ -910,6 +924,15 @@ $ ECLIPSE_HOME=/home/scottrif/eclipse-poky/scripts/eclipse ./build.sh &DISTRO_NAME; &DISTRO_NAME; + REVIEWER NOTE + Here is the actual guidance from the script. + I need some help understanding this thing: + + ECLIPSE_HOME=/home/scottrif/eclipse-poky/scripts/eclipse ./build.sh + <plugin branch or tag name> <documentation branch or tag name> + <release name> 2>&1 | tee -a build.log + + After running the script, the file org.yocto.sdk-release-date-archive.zip is in the current directory.