diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-09-30 13:44:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-04 13:46:43 +0100 |
commit | 00f99ccfe81038ed6dc517306582c27416b14a80 (patch) | |
tree | c630ef47a7f6bf45ff68060da8b26b6186a019dc /documentation | |
parent | e0172675a0c88741f6fafa4c84a6778e0b3a8136 (diff) | |
download | poky-00f99ccfe81038ed6dc517306582c27416b14a80.tar.gz |
documentation/adt-manual/adt-eclipse.xml: edits to the config steps
I made some slight edits to configuring the Eclipse IDE and the
procedure to install the plug-in from the zip file. This is not
complete yet.
(From yocto-docs rev: 96de3d21946d64e6b877f067912da8677c3d373a)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/adt-manual/adt-eclipse.xml | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/documentation/adt-manual/adt-eclipse.xml b/documentation/adt-manual/adt-eclipse.xml index 829b2f98f7..20c7470f74 100644 --- a/documentation/adt-manual/adt-eclipse.xml +++ b/documentation/adt-manual/adt-eclipse.xml | |||
@@ -95,7 +95,8 @@ | |||
95 | Follow these general steps to configure Eclipse: | 95 | Follow these general steps to configure Eclipse: |
96 | <orderedlist> | 96 | <orderedlist> |
97 | <listitem><para>Start the Eclipse IDE.</para></listitem> | 97 | <listitem><para>Start the Eclipse IDE.</para></listitem> |
98 | <listitem><para>Select "Install New Software" from the "Help" pull-down menu. | 98 | <listitem><para>Make sure you are in your Workbench and select |
99 | "Install New Software" from the "Help" pull-down menu. | ||
99 | </para></listitem> | 100 | </para></listitem> |
100 | <listitem><para>Select <filename>Indego - http://download.eclipse.org/releases/indego</filename> | 101 | <listitem><para>Select <filename>Indego - http://download.eclipse.org/releases/indego</filename> |
101 | from the "Work with:" pull-down menu.</para></listitem> | 102 | from the "Work with:" pull-down menu.</para></listitem> |
@@ -103,8 +104,9 @@ | |||
103 | and select the <filename>Autotools Support for CDT (incubation)</filename> | 104 | and select the <filename>Autotools Support for CDT (incubation)</filename> |
104 | and <filename>C/C++ Development Tools</filename> boxes.</para></listitem> | 105 | and <filename>C/C++ Development Tools</filename> boxes.</para></listitem> |
105 | <listitem><para>Complete the installation and restart the Eclipse IDE.</para></listitem> | 106 | <listitem><para>Complete the installation and restart the Eclipse IDE.</para></listitem> |
106 | <listitem><para>Select "Install New Software" from the "Help" pull-down menu.</para></listitem> | 107 | <listitem><para>After the Eclipse IDE restarts and from the Workbench, select |
107 | <listitem><para>After the Eclipse IDE restarts, click the | 108 | "Install New Software" from the "Help" pull-down menu.</para></listitem> |
109 | <listitem><para>Click the | ||
108 | "Available Software Sites" link.</para></listitem> | 110 | "Available Software Sites" link.</para></listitem> |
109 | <listitem><para>Check the box next to | 111 | <listitem><para>Check the box next to |
110 | <filename>http://download.eclipse.org/tm/updates/3.3</filename> | 112 | <filename>http://download.eclipse.org/tm/updates/3.3</filename> |
@@ -117,9 +119,10 @@ | |||
117 | and select every item except <filename>RSE Unit Tests</filename> and | 119 | and select every item except <filename>RSE Unit Tests</filename> and |
118 | <filename>RSE WinCE Services (incubation)</filename>.</para></listitem> | 120 | <filename>RSE WinCE Services (incubation)</filename>.</para></listitem> |
119 | <listitem><para>Complete the installation and restart the Eclipse IDE.</para></listitem> | 121 | <listitem><para>Complete the installation and restart the Eclipse IDE.</para></listitem> |
120 | <listitem><para>After the Eclipse IDE restarts, click the | 122 | <listitem><para>If necessary, select |
121 | "Available Software Sites" link.</para></listitem> | 123 | "Install New Software" from the "Help" pull-down menu so you can click the |
122 | <listitem><para>Check the box next to | 124 | "Available Software Sites" link again.</para></listitem> |
125 | <listitem><para>After clicking "Available Software Sites", check the box next to | ||
123 | <filename>http://download.eclipse.org/tools/cdt/releases/indego</filename> | 126 | <filename>http://download.eclipse.org/tools/cdt/releases/indego</filename> |
124 | and click "OK".</para></listitem> | 127 | and click "OK".</para></listitem> |
125 | <listitem><para>Select <filename>http://download.eclipse.org/tools/cdt/releases/indego</filename> | 128 | <listitem><para>Select <filename>http://download.eclipse.org/tools/cdt/releases/indego</filename> |
@@ -153,9 +156,10 @@ | |||
153 | <orderedlist> | 156 | <orderedlist> |
154 | <listitem><para>Open a shell and create a Git repository with: | 157 | <listitem><para>Open a shell and create a Git repository with: |
155 | <literallayout class='monospaced'> | 158 | <literallayout class='monospaced'> |
156 | $ git clone git://git.yoctoproject.org/yocto-eclipse yocto-eclipse | 159 | $ git clone git://git.yoctoproject.org/eclipse-poky yocto-eclipse |
157 | </literallayout> | 160 | </literallayout> |
158 | For this example, I created <filename>~/yocto-eclipse</filename>.</para></listitem> | 161 | For this example, the repository is named |
162 | <filename>~/yocto-eclipse</filename>.</para></listitem> | ||
159 | <listitem><para>In Eclipse, select "Import" from the "File" menu.</para></listitem> | 163 | <listitem><para>In Eclipse, select "Import" from the "File" menu.</para></listitem> |
160 | <listitem><para>Expand the "General" box and pick "existing projects into workspace". | 164 | <listitem><para>Expand the "General" box and pick "existing projects into workspace". |
161 | </para></listitem> | 165 | </para></listitem> |
@@ -188,19 +192,20 @@ | |||
188 | <orderedlist> | 192 | <orderedlist> |
189 | <listitem><para>Open a shell and create a Git repository with: | 193 | <listitem><para>Open a shell and create a Git repository with: |
190 | <literallayout class='monospaced'> | 194 | <literallayout class='monospaced'> |
191 | $ git clone git://git.yoctoproject.org/yocto-eclipse yocto-eclipse | 195 | $ git clone git://git.yoctoproject.org/eclipse-poky yocto-eclipse |
192 | </literallayout> | 196 | </literallayout> |
193 | For this example, I created <filename>~/yocto-eclipse</filename>.</para></listitem> | 197 | For this example, the repository is named |
198 | <filename>~/yocto-eclipse</filename>.</para></listitem> | ||
194 | <listitem><para>Locate the <filename>build.sh</filename> script in the | 199 | <listitem><para>Locate the <filename>build.sh</filename> script in the |
195 | Git repository you created in the previous step. | 200 | Git repository you created in the previous step. |
196 | The script is located in the <filename>scripts</filename>.</para></listitem> | 201 | The script is located in the <filename>scripts</filename>.</para></listitem> |
197 | <listitem><para>Be sure to set the <filename>ECLIPSE_HOME</filename> environment | 202 | <listitem><para>Be sure to set and export the <filename>ECLIPSE_HOME</filename> environment |
198 | variable to the top-level directory in which you installed the Indigo | 203 | variable to the top-level directory in which you installed the Indigo |
199 | version of Eclipse. | 204 | version of Eclipse. |
200 | For example, if your Eclipse directory is <filename>$HOME/eclipse</filename>, | 205 | For example, if your Eclipse directory is <filename>$HOME/eclipse</filename>, |
201 | use the following: | 206 | use the following: |
202 | <literallayout class='monospaced'> | 207 | <literallayout class='monospaced'> |
203 | ECLIPSE_HOME=$HOME/eclipse | 208 | $ export ECLIPSE_HOME=$HOME/eclipse |
204 | </literallayout></para></listitem> | 209 | </literallayout></para></listitem> |
205 | <listitem><para>Run the <filename>build.sh</filename> script and provide the | 210 | <listitem><para>Run the <filename>build.sh</filename> script and provide the |
206 | name of the Git branch along with the Yocto Project release you are | 211 | name of the Git branch along with the Yocto Project release you are |
@@ -212,7 +217,7 @@ | |||
212 | </literallayout> | 217 | </literallayout> |
213 | After running the script, the file | 218 | After running the script, the file |
214 | <filename>org.yocto.sdk-<release>-<date>-archive.zip</filename> | 219 | <filename>org.yocto.sdk-<release>-<date>-archive.zip</filename> |
215 | in the current directory.</para></listitem> | 220 | is in the current directory.</para></listitem> |
216 | <listitem><para>Install the zip file in the top-level directory of the | 221 | <listitem><para>Install the zip file in the top-level directory of the |
217 | installed Indigo Eclipse IDE.</para></listitem> | 222 | installed Indigo Eclipse IDE.</para></listitem> |
218 | <listitem><para>Restart the Eclipse IDE if necessary.</para></listitem> | 223 | <listitem><para>Restart the Eclipse IDE if necessary.</para></listitem> |
@@ -225,9 +230,6 @@ | |||
225 | $ cd ~/eclipse | 230 | $ cd ~/eclipse |
226 | $ ./eclipse -vmargs -XX:PermSize=256M | 231 | $ ./eclipse -vmargs -XX:PermSize=256M |
227 | </literallayout> | 232 | </literallayout> |
228 | The left navigation pane shows the default projects. | ||
229 | Right-click on one of these projects and run it as an Eclipse application. | ||
230 | This brings up a second instance of Eclipse IDE that has the Yocto Plug-in. | ||
231 | </para> | 233 | </para> |
232 | </section> | 234 | </section> |
233 | </section> | 235 | </section> |