Skip to main content
Jump to: navigation, search

Linux Tools Project/Eclipse Build

< Linux Tools Project
Revision as of 03:44, 17 March 2010 by Niels.thykier.net (Talk | contribs) (Debian/Ubuntu Build Requirements)

{{#eclipseproject:technology.linux-distros}}

Eclipse-build aims to ease the building of the Eclipse SDK for Linux distributions.

Prerequisites for building with eclipse-build

  • A 1.6 JDK installed in a standard place (see build.properties)
  • Ant version 1.7.1 or newer
  • bash, sh, perl, sed, below requirements for particular distro
  • icu4j; jsch; java.servlet 2.5; javax.servlet.jsp 2.0; Apache Commons: codec, EL, httpclient, logging; jasper; lucene; hamcrest; jetty; ASM; SAT4J
  • At least 3 GB of storage available
  • Xvnc (Fedora: tigervnc-server package) if you want the tests to run and not touch your main display (Debian xvfb version in the works)

How To build Eclipse SDK with eclipse-build released tarballs

If the build finishes without error there will be a build/eclipse-$YOUR_BUILD_ID-src/installation directory containing a ready-to-use Eclipse SDK. Eclipse-build is verified to work on x86, x86_64 and ppc architectures. Eclipse-build has been successfully tested on Fedora, Debian, and Ubuntu. Refer to distribution-specific instructions below. We are interested in reports of success on other distributions. Please let us know via linuxtools-dev@eclipse.org.

Optional: ant -DbuildArch={x86 OR x86_64 OR ppc} runTests. Look for test results (a few hours running time) in tests_<timestamp>/results/html/org.eclipse.sdk.tests.html.

How to build Eclipse SDK from checked out eclipse-build trunk

Submitting patches

Debian/Ubuntu Build Requirements

On Ubuntu 9.10 "Karmic Koala" (and later) you can simply run "sudo apt-get build-dep eclipse && sudo aptitude install build-essential" to install those packages.

The list of build dependencies (excluding build-essential) can be found [1] (see Build-Depends).

Fedora Build Requirements

On Fedora, just run yum-builddep eclipse to get the build dependencies (including the dependencies to which the Fedora package is symlinked). You must also ensure you have the following installed (the latter to run the tests): patch tigervnc-server.

To-do list

Planned items

  • Provision every feature separately so we can move them in dropins
  • Add ability to build only given feature e.g org.eclipse.swt (Maybe)

Testing

See tests for how to build and run the SDK tests and to report results and check if others are working on common failures.

Back to the top