Summary

This specification describes the requirements for testing the eclipse-cdt package and associated plugins on various hardware combinations.

Release Note

The eclipse CDT is now available in Ubuntu and has been tested as follows........

Rationale

  • The eclipse CDT is a useful addition to the ubuntu developer toolset but needs testing.

User stories

  • Sam would like to cross build a C application on a ubuntu platform within the eclipse IDE
    • and debug it on the traget platform.
  • Pauline wants to change development platform for her existing eclipse-cdt project to ubuntu

Assumptions

Design

Implementation

  • Install Ubuntu Natty eclipse-cdt package into Maverick eclipse
  • Import various C/C++ code trees and eclipse projects into eclipse
    • rebuild & test

  • Investigate any interaction between plugins installed from eclipse
    • and plugin packages installed from ubuntu

Test/Demo Plan

  • Investigate possible existing projects to import
  • Select those to test
  • Import & test

    • Builds OK
    • Binaries run
    • Binaries pass any available tests

Currently 11 work items, 1 done

  • Import proposed Natty eclipse-cdt package into Maverick Eclipse on AMD64 host: DONE
  • Investigate suitable existing C/C++ projects to import: TODO
  • Import chosen C/C++ projects: TODO
  • Build imported projects: TODO
  • Test imported projects: TODO
  • Install eclipse on ARM platform: TODO
  • Integrate linaro cross toolchain into eclipse: TODO
  • Demonstrate debugging of resulting binaries in QEMU, using gdb: TODO
  • Import latest ARM Ltd eclipse plugins: TODO
  • Demonstrate debugging of binaries in ARM models, using ARM debugger: TODO
  • Demonstrate profiling of binaries using ARM profiler: TODO

Proposed new work items:

15 with 5 done

  • Install eclipse helios to natty VMWare DONE
  • Install ds-5 helios to natty DONE
  • Check video actions can be repeated - Import an Eclipse project into your workspace DONE
  • Check video actions can be repeated - Configure a new RSE connection to a remote target running ARM Linux DONE
  • Check video actions can be repeated - Debug an ARM Linux application on a ARM model DONE
  • Check video actions can be repeated - Using ARM Streamline TODO
  • Import DS-5 projects into vanilla eclipse/CDT helios TODO
  • Check video actions equivalent - Configure a new RSE connection to a remote target running ARM Linux (helios gdb, rather tahn DS-5 gdb) TODO
  • Check video actions equivalent - Debug an ARM Linux application on qemu TODO
  • Integrate linaro toolchain into both TODO
  • Repeat previous tests TODO
  • Cross build natty eclipse packages TODO
  • Demonstrate natty eclipse packages running on ARM TODO
  • Document to linaro wiki TODO
  • Track http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587742 "Please package new version of Eclipse 3.6" TODO

Unresolved issues

Why isn't the armel eclipse package at the same version as those for AMD64/i686?

BoF agenda and discussion

  • Past attempts at including eclipse-cdt in ubuntu esp. lessons learnt
  • Process esp.:
    • will attempting to guess the equivalent ubuntu dependencies help or hinder
    • what are the ubuntu defaults i.e given the choice of more than one package to satisfy a dependency
      • which to choose.
    • is the current ubuntu java sufficient or does eclipse need EE?
    • does eclipse handle the debian packaging?
  • Testing esp
    • possible automation
    • suitable C/C++ test projects


Session from gobby -- thanks to Tom Gall

  • Past attempts at including eclipse-cdt in ubuntu esp. lessons learnt
    • why isn't it in ubuntu today? Wasn't maintained?
  • Process esp.:
    • will attempting to guess the equivalent ubuntu dependencies help or hinder
      • from irc, bdrung & nthykier) indicate they package eclipse-cdt, currently in debian unstable and in queue for natty

    • what are the ubuntu defaults i.e given the choice of more than one package to satisfy a dependency
      • which to choose.
    • is the current ubuntu java sufficient or does eclipse need EE?
      • current OpenJDK appears to be sufficient
    • does eclipse handle the debian packaging?
      • currently there appears to be support for rpm spec files however deb support might not exist
      • No eclipse plugin to handle deb-packaging known, though LinuxTools would welcome developers working on it

        • (they also have the RPM spec file editor)
  • Testing esp
    • possible automation
      • suggestion was to contact the eclipse community to see what they might have
    • suitable C/C++ test projects
      • eclipse has a testsuite but we (ubuntu) don't run it (via bdrung)
      • good set of test variations would be around install of various plugins either via debs or download by eclipse, bdrung notes there are currently problems in this area when it comes to debian deps
  • cross compiling
    • it would be very intersting to dispatch builds to native arm hardware
  • bdrung asked if there were volunteers interested in helping package eclipse & plugins (eclipse-git, eclipse-pydev being examples) (ppearse, tgall-foo have an interest) Join the DOA team (Debian Orbital Alignment Team) also see http://wiki.debian.org/Eclipse/Packaging

  • it would be of use for linaro to look at how to streamline the use of eclipse with a variety of existing hardware


During the session the acceptance of eclipse-cdt into natty was announced!

Beta package available from https://launchpad.net/~doko/+archive/ppa

Platform/DevPlatform/Specs/Eclipse-CDT (last modified 2011-02-18 16:54:36)