Skip to main content
Jump to: navigation, search

EEF/Releng Guide

Revision as of 09:17, 9 February 2010 by (Talk | contribs) (New page: {{Back To|name=EEF|href=EEF}} = EEF Releng HOW TO = The EEF project is built using Athena Common Build, with this [

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Back to EEF


The EEF project is built using Athena Common Build, with this releng project.

How to start a build?


  • Nightly builds are run every 6 hours everyday, at 03:41, 09:41, 15:41 and 21:41 EST, monitoring every change in CVS.
  • Integration builds are started every Tuesday at 18:12 EST, even if there is no modification on CVS.
Builds Differences
Be careful on what is build. Nightly builds are built against CVS HEAD, and integration are built against CVS 0.7_BRANCH.


  • Only committers in the EEF project can launch build jobs from Hudson. ( do not forget to login )
  • Nightly build : go to the nightly job
  • Integration build : go to the integration job


  • In Hudson, click on Build Now, change the build parameters as needed (see #Build parameters), and click on Build.
  • You can then click on the job name in the Build History section in the left column, and then on Console Output, to follow build progress in real time.

How to publish a build?


Successful Nightly and Integration builds are automatically published to These promote actions are done by a cron job on the build server :

# daily N EEF builds
45 22 * * * bash /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-eef-0.7-nightly/workspace/org.eclipse.emf/org.eclipse.emf.eef/releng/
# weekly I EEF builds
12 19 * * 2 bash /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-eef-0.7-integration/workspace/org.eclipse.emf/org.eclipse.emf.eef/releng/

The called scripts ( available here) get the latest successful build of given job, copy it and unpack the update sites in the correct places.

These builds can then be seen and downloaded from the EMFT download page, where additional information is available (test results, build log, build configuration, build dependencies).

See also the EEF Installation page to use the update sites if wanted.


Stable, Maintenance and Release builds are not automatically published. They should be first tested internally before publishing. After testing, you should use the specific promote script to promote in the right place.

promote Milestones build
This last script update also the helios build train. use it with cautious !.

Build parameters

Hudson builds expect these parameters:

  • PROJECTID : modeling.emf.eef : no reason to change this
  • VERSION : the version being built.
  • BUILDTYPE : the kind of build, represented by a code letter (see this page):
    • N: Nightly
    • I: Integration
    • M: Maintenance (NOT milestone)
    • S: Stable (for Milestones and Release Candidate builds)
    • R: Release

These others are optional, that is, must be configured through the job's configuration page if they are needed. ( see this page).

  • buildAlias= : for release, maintenance and stable builds, use this option to give a more meaningful name to the build. For example, add buildAlias=0.8.0M2 to get "" instead of "".
  • forceContextQualifier= : force the ".qualifier" part of a plugin version number to a specific string.
  • fetchTag= : Force a specific tag to be used when pulling sources from CVS. For example, use fetchTag=HEAD to build from HEAD instead of from the versions specified in the releng project's map files.
  • localSourceCheckoutDir= : get the sources from a local directory instead of from CVS.

Building locally

First, checkout EEF projects into your workspace, see this page.

Checkout also the releng projects :


Then, setup the<code> file in the releng project with correct information for your system:

  • Set all the <code>JAVA*_HOME properties to the location of your JDK install (eg: /usr/lib/jvm/java-1.6.0-openjdk or C:/Program Files/Java/jdk1.6.0_16)
  • Set the WORKSPACE property to a writable directory (eg: /tmp or C:/temp)
  • change the dependencyURLs with the Eclipse SDK zip specific to your platform

Additionally, you should change all the dependencyURLs to point to one of your local Eclipse mirrors, to avoid saturating the main Eclipse download server, and getting extremely slow downloads.

Alternatively, you can download the dependencies manually and put them in your downloadsDir. The build will then use the files you provided instead of downloading them itself.

Finally, start the build by right-clicking the build.xml file in the releng project inside Eclipse and choosing Run as > Ant Build.

Back to the top