documentation/adt-manual/adt-eclipse.xml: various minor clean ups.

(From yocto-docs rev: 6caabfaed1ec440511727e163b9c3bb7afe966ae)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2011-09-15 13:04:13 -07:00 committed by Richard Purdie
parent 4e6b4c09a5
commit bee5046908
1 changed files with 35 additions and 35 deletions

View File

@ -138,14 +138,18 @@
<title>Installing the Eclipse Yocto Plug-in</title> <title>Installing the Eclipse Yocto Plug-in</title>
<para> <para>
To install the Eclipse Yocto Plug-in, follow these special steps. WRITER'S NOTE: The steps in here are temporary.
The steps are WIP and are not final. I need to replace them when the real procedure is available from Jessica Zhang.
Once they are final they will be replaced with the actual steps: </para>
<para>
To install the Eclipse Yocto Plug-in, follow these steps:
<orderedlist> <orderedlist>
<listitem><para>Open a shell and create a Git repository with: <listitem><para>Open a shell and create a Git repository with:
<literallayout class='monospaced'> <literallayout class='monospaced'>
$ git clone git://git.yoctoproject.org/yocto-eclipse yocto-eclipse $ git clone git://git.yoctoproject.org/yocto-eclipse yocto-eclipse
</literallayout></para></listitem> </literallayout>
For this example, I created <filename>~/yocto-eclipse</filename>.</para></listitem>
<listitem><para>In Eclipse, select "Import" from the "File" menu.</para></listitem> <listitem><para>In Eclipse, select "Import" from the "File" menu.</para></listitem>
<listitem><para>Expand the "General" box and pick "existing projects into workspace". <listitem><para>Expand the "General" box and pick "existing projects into workspace".
</para></listitem> </para></listitem>
@ -164,9 +168,8 @@
$ cd ~/eclipse $ cd ~/eclipse
$ ./eclipse -vmargs -XX:PermSize=256M $ ./eclipse -vmargs -XX:PermSize=256M
</literallayout> </literallayout>
What is shown is the default projects in the left pane. The left navigation pane shows the default projects.
I should be able to right-click on one of these and run as an Eclipse application to Right-click on one of these projects and run it as an Eclipse application.
bring up the Eclipse instance again with the Eclipse Yocto Plug-in working.
This brings up a second instance of Eclipse IDE that has the Yocto Plug-in. This brings up a second instance of Eclipse IDE that has the Yocto Plug-in.
</para> </para>
</section> </section>
@ -186,7 +189,7 @@
To start, you need to do the following from within the Eclipse IDE: To start, you need to do the following from within the Eclipse IDE:
<itemizedlist> <itemizedlist>
<listitem><para>Choose <filename>Windows -&gt; Preferences</filename> to display <listitem><para>Choose <filename>Windows -&gt; Preferences</filename> to display
the Preferences Dialog</para></listitem> the <filename>Preferences</filename> Dialog</para></listitem>
<listitem><para>Click <filename>Yocto ADT</filename></para></listitem> <listitem><para>Click <filename>Yocto ADT</filename></para></listitem>
</itemizedlist> </itemizedlist>
</para> </para>
@ -349,21 +352,24 @@
<title>Configuring the Cross-Toolchains</title> <title>Configuring the Cross-Toolchains</title>
<para> <para>
The previous section, "<link linkend='configuring-the-eclipse-yocto-plug-in'>Configuring The earlier section, "<link linkend='configuring-the-eclipse-yocto-plug-in'>Configuring
the Eclipse Yocto Plug-in</link>", sets up the default project the Eclipse Yocto Plug-in</link>", sets up the default project
configurations. configurations.
You can change these settings for a given project by following these steps: You can override these settings for a given project by following these steps:
<orderedlist> <orderedlist>
<listitem><para>Select <filename>Window -&gt; Preferences</filename>: <listitem><para>Select <filename>Project -&gt; Change Yocto Project Settings</filename>:
This selection brings up the <filename>Preferences</filename> Dialog. This selection brings up the <filename>Project Yocto Settings</filename> Dialog
If the Yocto ADT Preferences are not automatically displayed, you can navigate to and allows you to make changes specific to an individual project.
that dialog by selection <filename>Yocto ADT</filename> in the left-hand </para>
panel.</para> <para>By default, the Cross Compiler Options and Target Options for a project
<para>Yocto ADT Settings are inherited from the default project configuration. are inherited from settings you provide using the <filename>Preferences</filename>
The information in this dialog is identical to that chosen earlier Dialog as described earlier
for the Cross Compiler Options and Target Options as described in the in the "<link linkend='configuring-the-eclipse-yocto-plug-in'>Configuring the Eclipse
"<link linkend='configuring-the-eclipse-yocto-plug-in'>Configuring the Eclipse Yocto Plug-in</link>" section.
Yocto Plug-in</link>" section.</para></listitem> The <filename>Project Yocto Settings</filename>
Dialog allows you to override those default settings
for a given project.</para></listitem>
<listitem><para>Make your configurations for the project and click "OK".</para></listitem>
<listitem><para>Select <filename>Project -&gt; Reconfigure Project</filename>: <listitem><para>Select <filename>Project -&gt; Reconfigure Project</filename>:
This selection reconfigures the project by running This selection reconfigures the project by running
<filename>autogen.sh</filename> in the workspace for your project. <filename>autogen.sh</filename> in the workspace for your project.
@ -387,29 +393,23 @@
<section id='starting-qemu-in-user-space-nfs-mode'> <section id='starting-qemu-in-user-space-nfs-mode'>
<title>Starting QEMU in User Space NFS Mode</title> <title>Starting QEMU in User Space NFS Mode</title>
<para>
WRITER'S NOTE: I might need to make sure the target sysroot is pointing to qemux86-sato
at this point.
I am not sure it really inherits it from the Eclipse IDE settings.
</para>
<para> <para>
To start the QEMU emulator from within Eclipse, follow these steps: To start the QEMU emulator from within Eclipse, follow these steps:
<orderedlist> <orderedlist>
<listitem><para>Expose the <filename>Run -&gt; External Tools -&gt; External Tools <listitem><para>Expose the <filename>Run -&gt; External Tools</filename> menu.
Configurations...</filename> menu.
Your image should appear as a selectable menu item. Your image should appear as a selectable menu item.
</para></listitem> </para></listitem>
<listitem><para>Select your image in the navigation pane to launch the <listitem><para>Select your image in the navigation pane to launch the
emulator in a new window.</para></listitem> emulator in a new window.</para></listitem>
<listitem><para>Enter your host root password in the shell window at the prompt. <listitem><para>If needed, enter your host root password in the shell window at the prompt.
This sets up a <filename>Tap 0</filename> connection needed for running in user-space This sets up a <filename>Tap 0</filename> connection needed for running in user-space
NFS mode.</para></listitem> NFS mode.</para></listitem>
<listitem><para>Wait for QEMU to launch.</para></listitem> <listitem><para>Wait for QEMU to launch.</para></listitem>
<listitem><para>Once QEMU launches you need to determine the IP Address <listitem><para>Once QEMU launches, you can begin operating within that
for the user-space NFS. environment.
You can do that by going to a terminal in the QEMU and entering the For example, you could determine the IP Address
<filename>ifconfig</filename> command.</para></listitem> for the user-space NFS by using the <filename>ifconfig</filename> command.
</para></listitem>
</orderedlist> </orderedlist>
</para> </para>
</section> </section>
@ -440,8 +440,8 @@
<listitem><para>Click <filename>Next</filename>.</para></listitem> <listitem><para>Click <filename>Next</filename>.</para></listitem>
<listitem><para>Clear out the <filename>host name</filename> field and enter the IP Address <listitem><para>Clear out the <filename>host name</filename> field and enter the IP Address
determined earlier.</para></listitem> determined earlier.</para></listitem>
<listitem><para>Click <filename>Finish</filename> to close the new connections <listitem><para>Click <filename>Finish</filename> to close the
Dialog.</para></listitem> <filename>New Connections</filename> Dialog.</para></listitem>
<listitem><para>Use the drop-down menu now in the <filename>Connection</filename> field and pick <listitem><para>Use the drop-down menu now in the <filename>Connection</filename> field and pick
the IP Address you entered.</para></listitem> the IP Address you entered.</para></listitem>
<listitem><para>Click <filename>Debug</filename> to bring up a login screen <listitem><para>Click <filename>Debug</filename> to bring up a login screen