Skip to main content
Jump to: navigation, search

EDT:Release Engineering

Revision as of 13:06, 24 February 2012 by (Talk | contribs)

Release Engineering for EDT

This page contains hints, tips, links, and instructions for the EDT project's release engineer.

Background Information

General Information

The Eclipse Wiki is sometimes useful, and sometimes outdated or missing info you think it should may drive you insane.

The Eclipse sysadmins can be reached at They're very helpful. Before writing to them, check their FAQ at Webmaster_FAQ and the other resources on this page.

You can learn a lot by reading Development_Resources and IT_Infrastructure_Doc.

Developing EDT

To be the release engineer, you have to know the EDT development process in addition to the build process.

Releng Resources and Information


The Bugzilla component for release engineering is EDTBuilds, though some people might report problems on the Website component. See EDT:How to be notified of EDT bugs.


Our builds run in Eclipse's Hudson system. The build job is at

Once you log in, you can disable/enable nightly builds with the Disable/Enable Project button. Click the Configure link to edit the build schedule and many other parameters. One thing you must do is enter your email address in the Email Notification box at the bottom of the Config page. That way you'll know when builds fail.


Some aspects of our builds are configured in Hudson, and the rest are configured by files in the project named org.eclipse.edt.releng. It's a regular Eclipse project, not a plugin. It contains the map file, and the main and build.xml.

Eclipse provides a machine called where you can do various build tasks. Any committer can log in, but the default shell only lets you run one command and then logs you out (to limit the number of people who can screw up the system). The EDT release engineer needs a real shell. Send a request to .


The last step in our build process makes the new build available for download from You can access and modify the downloadable files when you're logged in to, by going to /home/data/httpd/

People are encouraged to use a mirror when downloading files. So rather than using a direct link like, use The download.php script lets people choose a mirror. (But do NOT use this kind of URL for a P2 update site.)

The Archive

Space on the Eclipse download server is limited. It has the latest release, the latest milestone of the next release, and the latest nightly builds. Older nightly builds are deleted, but older milestone and release builds are moved to the archive instead. Its URL is When you're logged in to, our archive can be found at /home/data/httpd/

The MyFoundation Portal

The MyFoundation portal at lets you view and modify various kinds of meta-data about the EDT project.

In the Eclipse Projects box, choose 'view' next to tools.edt, and click '[maintain]' to edit the project meta-data. Fields that may need to be updated from time to time are Bugzilla, Source Repository, and Release.

If you choose '[tools]' next to tools.edt in the Eclipse Projects box, there are links for 'download stats', or to manage Bugzilla stuff use 'Bugzilla components, targets, versions'. You can add milestones, releases, components, etc. Be very careful when working with Bugzilla because many changes are permanent.


Eclipse's cross-project-issues-dev mailing list is for announcements and problems that affect many projects. You should subscribe to it by going to

Our website

The files of are stored in CVS. To view them, make a repository connection like :extssh:<USER>, and go to the folder www/edt/.

Starting a Build

Log in to Hudson and click Build Now. The single build parameter identifies the kind of build: use N for nightly, M for milestone, and R for release. Nothing special needs to be done for nightly builds, but see below for special instructions for milestone and release builds.

Outputs of a Build

Builds use a workspace directory on one of the Hudson slave machines. The workspace can be viewed through Hudson, but it can't be accessed from

After a successful build, the new update sites are accessible from The zipped update site (and JUnit results when we get those going) is in downloads/edt/downloads/drops/BuildTypeName/Version/BuildType_ThisBuild, where

  • downloads is /home/data/httpd/
  • BuildTypeName is nightly, milestones, or release
  • Version is a three-digit version number
  • BuildType is a letter: N for nightly, M for milestone, R for release


The build process also unzips the update site. The update site for a nightly build is unzipped into downloads/edt/updates/nightly/. A milestone build is unzipped into downloads/edt/milestones/1.0/, and a release build is unzipped into downloads/edt/updates/1.0/. See EDT:Update_Site_Guidelines for more info about these update sites.

We give Hudson permission to write into our downloads area using ACLs. The Hudson user is hudsonBuild. If you change the existing structure or make a new directory, but sure to modify its ACL.

How To Deal With a Failed Build

When a build fails, Hudson will send and email to you and everyone who committed a change in that build. The message lists the changes and shows the tail of the build log.

If the build failed because something didn't compile, you probably don't need to remind the developer to fix the problem or help them, unless the failure was a missing plugin. Missing plugins are discussed at EDT:How_to_add_new_EDT_plugins.

If the build failed because of a Hudson problem, check Bugzilla. Hudson bugs have Classification=Eclipse Foundation, Product=Community, and Component=Hudson. If there's no bug for the problem, open one (you can use this link

Back to the top