4.2.2.1.4.3. Importing the Plug-in Project into the Eclipse Environment

Importing the Eclipse Yocto Plug-in project from the Yocto Project source repositories is useful when you want to try out the latest plug-in from the tip of plug-in's development tree. It is important to understand when you import the plug-in you are not installing it into the Eclipse application. Rather, you are importing the project and just using it.

To import the plug-in project, follow these steps:

  1. Open a shell and create a Git repository with:

         $ git clone git://git.yoctoproject.org/eclipse-poky yocto-eclipse
                                    

    For this example, the repository is named ~/yocto-eclipse.

  2. In Eclipse, select "Import" from the "File" menu.

  3. Expand the "General" box and select "existing projects into workspace" and then click "Next".

  4. Select the root directory and browse to ~/yocto-eclipse/plugins.

  5. Three plug-ins exist: org.yocto.bc.ui, org.yocto.sdk.ide, and org.yocto.sdk.remotetools. Select and import all of them.

The left navigation pane in the Eclipse application shows the default projects. Right-click on one of these projects and run it as an Eclipse application to bring up a second instance of Eclipse IDE that has the Yocto Plug-in.