Bug 2929

Summary: Add section for the latest Juno setup changes
Product: [Documentation] Development Manual Reporter: Jessica <jessica.zhang>
Component: developmentAssignee: Scott Rifenbark <srifenbark>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: ioanax.grigoropol, sstncr
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
URL: http://git.yoctoproject.org/cgit.cgi/yocto-docs/commit/?id=6b0b046322420f56feb644eb6de8341dfac59df2
Whiteboard: 15 August 2012 - Resolved/Fixed
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jessica 2012-08-09 17:38:04 UTC
The current doc for Eclipse setup is meant for Indigo, since we have upgraded support for Juno as well, we need to reflect the changes in the documentation
Comment 1 Ioana Grigoropol 2012-08-10 07:14:35 UTC
4.1.1. Installing the Eclipse IDE Juno

It is recommended that you have the Juno 4.2 version of the Eclipse IDE installed on your development system. If you don’t have this version, you can find it at http://www.eclipse.org/downloads. From that site, choose the Eclipse Classic version particular to your development host. This version contains the Eclipse Platform, the Java Development Tools (JDT), and the Plug-in Development Environment.

Once you have downloaded the tarball, extract it into a clean directory. For example, the following commands unpack and install the Eclipse IDE tarball found in the Downloads area into a clean directory using the default name eclipse:

     $ cd ~
     $ tar -xzvf ~/Downloads/eclipse-SDK-4.2-linux-gtk-x86_64.tar.gz
            
[There is no longer a need to increase the PermSize for eclipse Juno – default configuration in eclipse.ini for PermSize is set to 256M]

4.1.2. Configuring the Eclipse IDE

Before installing and configuring the Eclipse Yocto Plug-in, you need to configure the Eclipse IDE. Follow these general steps to configure Eclipse:

    Start the Eclipse IDE.

    Make sure you are in your Workbench and select "Install New Software" from the "Help" pull-down menu.

    Select "Juno - http://download.eclipse.org/releases/juno" from the "Work with:" pull-down menu.

    Expand the box next to "Linux Tools" and select the "LTTng - Linux Tracing Toolkit" boxes.

    Expand the box next to "Mobile and Device Development" and select the following boxes :
	- C/C++ Remote Launch
	- Remote System Explorer End-User Runtime
	- Remote System Explorer User Actions 
	- Target Management Terminal 
	- TCF Remote System Explorer add-in
	- TCF Target Explorer 


    Expand the box next to Programming Languages and select the "Autotools Support for CDT" and "C/C++ Development Tools" boxes.

    Complete the installation and restart the Eclipse IDE.
Comment 2 Scott Rifenbark 2012-08-14 17:03:17 UTC
After discussing with Jessica, it appears that YP will support both Indigo and Juno.  So my solution will be to re-cast the installation and configuration steps in the YP Development Manual's Eclipse section to use Juno.  I will also include the existing steps for Eclipse so that both versions are covered.
Comment 3 Scott Rifenbark 2012-08-14 20:25:42 UTC
Here is the solution in the YP Development Manual.

http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#adt-eclipse

Let me know if this works by commenting here in Bugzilla.  I have created the section so that it encourages the user to use Juno but also provides the Indigo-specific information needed for configuration.  

Scott
Comment 4 Jessica 2012-08-14 20:58:31 UTC
Since the 3.7.2 download site is not obvious, can you add it to the doc: http://www.eclipse.org/downloads/packages/eclipse-classic-372/indigosr2
Comment 5 Scott Rifenbark 2012-08-14 21:03:03 UTC
I purposely did not include information on how to get the Indigo 3.7.2 tarball.  Here is the reason why:  We are encouraging the user to use Juno 4.2.  And, the section is written so that if they don't have the Eclipse IDE installed they will be able to get that version.  The other scenario is that the user already has Indigo 3.7.2 installed and does not want to upgrade.  If that is the case, they will already have the IDE installed and won't need a tarball.  I thought it was a bit confusing to encourage Juno and provide installation information for Indigo.
Comment 6 Scott Rifenbark 2012-08-15 16:37:20 UTC
Pushed the commit to yocto-docs/master.  (http://git.yoctoproject.org/cgit.cgi/yocto-docs/commit/?id=6b0b046322420f56feb644eb6de8341dfac59df2)
Comment 7 Stefan Stanacar 2012-09-28 09:22:39 UTC
Verified.