diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-11-27 18:55:56 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-03 13:53:00 +0000 |
commit | 0f0db8afde96f2bb1e3844385ac920314eabeaaa (patch) | |
tree | 482557f1ae9e80eebba5af88d8decf5fbae6b2c5 /documentation/dev-manual/dev-manual-model.xml | |
parent | 7c88384bb2349359a4753b424cd18e7dfdd6a870 (diff) | |
download | poky-0f0db8afde96f2bb1e3844385ac920314eabeaaa.tar.gz |
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 <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/dev-manual-model.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-model.xml | 43 |
1 files changed, 23 insertions, 20 deletions
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 @@ | |||
849 | </literallayout> | 849 | </literallayout> |
850 | For this example, the repository is named | 850 | For this example, the repository is named |
851 | <filename>~/yocto-eclipse</filename>.</para></listitem> | 851 | <filename>~/yocto-eclipse</filename>.</para></listitem> |
852 | <listitem><para>Change to the directory where you set up | ||
853 | the Git repository: | ||
854 | <literallayout class='monospaced'> | ||
855 | $ cd ~/yocto-eclipse | ||
856 | </literallayout></para></listitem> | ||
852 | <listitem><para>Be sure you are in the right branch for your Git repository. | 857 | <listitem><para>Be sure you are in the right branch for your Git repository. |
853 | For this release set the branch to <filename>&DISTRO_NAME;</filename>: | 858 | For this release set the branch to <filename>&DISTRO_NAME;</filename>: |
854 | <literallayout class='monospaced'> | 859 | <literallayout class='monospaced'> |
855 | $ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME; | 860 | $ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME; |
856 | </literallayout></para></listitem> | 861 | </literallayout></para></listitem> |
857 | <listitem><para>Locate the <filename>build.sh</filename> script in the | 862 | <listitem><para>Change to the <filename>scripts</filename> |
858 | Git repository you created in the previous step. | 863 | directory within the Git repository: |
859 | The script is located in the <filename>scripts</filename>.</para></listitem> | ||
860 | <listitem><para>Be sure to set and export the <filename>ECLIPSE_HOME</filename> environment | ||
861 | variable to the top-level directory in which you installed your version of Eclipse. | ||
862 | For example, if your Eclipse directory is <filename>$HOME/eclipse</filename>, | ||
863 | use the following: | ||
864 | <literallayout class='monospaced'> | 864 | <literallayout class='monospaced'> |
865 | $ export ECLIPSE_HOME=$HOME/eclipse | 865 | $ cd scripts |
866 | </literallayout></para></listitem> | 866 | </literallayout></para></listitem> |
867 | <listitem><para>Be sure you have the right branch in the Poky Git repository | 867 | <listitem><para>Set up the local build environment by running the |
868 | checked out. | 868 | setup script: |
869 | For example, the following commands checkout the <filename>&DISTRO_NAME;</filename> | ||
870 | branch in the local Poky Git repository: | ||
871 | <literallayout class='monospaced'> | 869 | <literallayout class='monospaced'> |
872 | $ cd ~/poky | 870 | $ ./setup.sh |
873 | $ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME; | ||
874 | </literallayout></para></listitem> | 871 | </literallayout></para></listitem> |
875 | <listitem><para>Move back to your Yocto Eclipse directory and | 872 | <listitem><para>When the script finishes execution, it prompts |
876 | run the <filename>build.sh</filename> script. | 873 | you with instructions on how to run the |
877 | Provide the name of the Git branch along with the Yocto Project release you are | 874 | <filename>build.sh</filename> script, which is also in |
878 | using. | 875 | the <filename>scripts</filename> of the |
876 | Git repository created earlier. | ||
877 | </para></listitem> | ||
878 | <listitem><para>Run the <filename>build.sh</filename> script | ||
879 | as directed. | ||
880 | Be sure to provide the name of the Git branch along with the | ||
881 | Yocto Project release you are using. | ||
879 | Here is an example that uses the <filename>&DISTRO_NAME;</filename> branches: | 882 | Here is an example that uses the <filename>&DISTRO_NAME;</filename> branches: |
880 | <literallayout class='monospaced'> | 883 | <literallayout class='monospaced'> |
881 | $ scripts/build.sh &DISTRO_NAME; &DISTRO_NAME; | 884 | $ ECLIPSE_HOME=/home/scottrif/yocto-eclipse/scripts/eclipse ./build.sh &DISTRO_NAME; &DISTRO_NAME; |
882 | </literallayout> | 885 | </literallayout> |
883 | After running the script, the file | 886 | After running the script, the file |
884 | <filename>org.yocto.sdk-<release>-<date>-archive.zip</filename> | 887 | <filename>org.yocto.sdk-<release>-<date>-archive.zip</filename> |
@@ -890,7 +893,7 @@ | |||
890 | <listitem><para>Click "Add".</para></listitem> | 893 | <listitem><para>Click "Add".</para></listitem> |
891 | <listitem><para>Provide anything you want in the "Name" field.</para></listitem> | 894 | <listitem><para>Provide anything you want in the "Name" field.</para></listitem> |
892 | <listitem><para>Click "Archive" and browse to the ZIP file you built | 895 | <listitem><para>Click "Archive" and browse to the ZIP file you built |
893 | in step four. | 896 | in step seven. |
894 | This ZIP file should not be "unzipped", and must be the | 897 | This ZIP file should not be "unzipped", and must be the |
895 | <filename>*archive.zip</filename> file created by running the | 898 | <filename>*archive.zip</filename> file created by running the |
896 | <filename>build.sh</filename> script.</para></listitem> | 899 | <filename>build.sh</filename> script.</para></listitem> |