From 0f0db8afde96f2bb1e3844385ac920314eabeaaa Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 27 Nov 2012 18:55:56 -0600 Subject: documentation: dev-manual - Updated installing YP eclipse plugin from code Fixes [YOCTO #3445] Updated the "Installing the Plug-in Using the Latest Source Code" section for the Eclipse section. This was pretty much out of whack. I have created new steps that involve running the setup script and then running the build script. The new information still needs a review. (From yocto-docs rev: 5903964a9583c6051abefa4a7b944b59a76825b4) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-model.xml | 43 ++++++++++++++------------- 1 file changed, 23 insertions(+), 20 deletions(-) (limited to 'documentation/dev-manual') diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml index 25ccae1c30..3ec9eae37b 100644 --- a/documentation/dev-manual/dev-manual-model.xml +++ b/documentation/dev-manual/dev-manual-model.xml @@ -849,36 +849,39 @@ For this example, the repository is named ~/yocto-eclipse. + Change to the directory where you set up + the Git repository: + + $ cd ~/yocto-eclipse + Be sure you are in the right branch for your Git repository. For this release set the branch to &DISTRO_NAME;: $ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME; - Locate the build.sh script in the - Git repository you created in the previous step. - The script is located in the scripts. - Be sure to set and export the ECLIPSE_HOME environment - variable to the top-level directory in which you installed your version of Eclipse. - For example, if your Eclipse directory is $HOME/eclipse, - use the following: + Change to the scripts + directory within the Git repository: - $ export ECLIPSE_HOME=$HOME/eclipse + $ cd scripts - Be sure you have the right branch in the Poky Git repository - checked out. - For example, the following commands checkout the &DISTRO_NAME; - branch in the local Poky Git repository: + Set up the local build environment by running the + setup script: - $ cd ~/poky - $ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME; + $ ./setup.sh - Move back to your Yocto Eclipse directory and - run the build.sh script. - Provide the name of the Git branch along with the Yocto Project release you are - using. + When the script finishes execution, it prompts + you with instructions on how to run the + build.sh script, which is also in + the scripts of the + Git repository created earlier. + + Run the build.sh script + as directed. + Be sure to provide the name of the Git branch along with the + Yocto Project release you are using. Here is an example that uses the &DISTRO_NAME; branches: - $ scripts/build.sh &DISTRO_NAME; &DISTRO_NAME; + $ ECLIPSE_HOME=/home/scottrif/yocto-eclipse/scripts/eclipse ./build.sh &DISTRO_NAME; &DISTRO_NAME; After running the script, the file org.yocto.sdk-<release>-<date>-archive.zip @@ -890,7 +893,7 @@ Click "Add". Provide anything you want in the "Name" field. Click "Archive" and browse to the ZIP file you built - in step four. + in step seven. This ZIP file should not be "unzipped", and must be the *archive.zip file created by running the build.sh script. -- cgit v1.2.3-54-g00ecf