Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "RAP/Build Process"

< RAP
(Procedure for release builds)
Line 27: Line 27:
 
*** Copy <code>org.objenesis</code> 1.0 from [http://download.eclipse.org/tools/orbit/downloads/ Orbit] and include the bundles into the base platform
 
*** Copy <code>org.objenesis</code> 1.0 from [http://download.eclipse.org/tools/orbit/downloads/ Orbit] and include the bundles into the base platform
 
*** <code>org.hancrest</code> should already be contained in the Eclipse Platform and thus there is no need to copy it
 
*** <code>org.hancrest</code> should already be contained in the Eclipse Platform and thus there is no need to copy it
 +
** Copy <code>org.json</code> 1.0.0 from Orbit into the base platform
 +
*** The bundle can be found on build.eclipse.org using this path: /home/data/httpd/download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/repository/plugins
 
** We used to delete all junit4 bundles from the plugins folder, probably not needed anymore (?)
 
** We used to delete all junit4 bundles from the plugins folder, probably not needed anymore (?)
  

Revision as of 05:08, 30 June 2011

Since version 1.5, RAP is built on the public build server at Eclipse.

Hudson Builds

We have two build jobs at the Eclipse.org Hudson:

The base directory for our builds is /shared/rt/rap on build.eclipse.org.

Procedure for Milestone builds

  • Tag CVS
    • Tag everything that is contained in the rt/org.eclipse.rap module, pattern: vYYYYMMDD_R12-Mx
      • You may need to increase the CVS connection timeout in Preferences -> Team -> CVS -> Connection tab (120 s seem to work)
  • Prepare new base platform in /shared/rt/rap/base-platforms (see /shared/rt/rap/README)
    • Copy base platform, extract it into a new directory
    • Copy com.ibm.icu.base and include the bundles into the base platform
    • Copy Equinox SDK from and include the following bundles into the base platform:
      • org.eclipse.equinox.servletbridge
      • org.eclipse.equinox.servletbridge.extensionbundle
      • org.eclipse.equinox.http.servletbridge
    • Provide Servlet 3.0 API
      • Copy javax.servlet 3.0 from Orbit and include the bundles into the base platform
    • Provide the dependencies for Mockito
      • Copy org.objenesis 1.0 from Orbit and include the bundles into the base platform
      • org.hancrest should already be contained in the Eclipse Platform and thus there is no need to copy it
    • Copy org.json 1.0.0 from Orbit into the base platform
      • The bundle can be found on build.eclipse.org using this path: /home/data/httpd/download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/repository/plugins
    • We used to delete all junit4 bundles from the plugins folder, probably not needed anymore (?)
  • Configure the hudson jobs to use the new base platform
  • Build runtime and tooling
    • Set parameter BUILD_TYPE to Mx for milestone builds, RCx for release candidates, or R for release builds
    • Set parameter CVS_TAG to the new tag (see above). DO NOT build milestones from HEAD
  • Copy a notice.html and epl-v10.html into the root directory (eclipse) of the produced zip files (see bug 347659)
  • Sign and upload files. This is currently done by the publish.sh script in org.eclipse.rap.releng

Publishing

  • Finalize New & Noteworthy
  • Update web site: new & noteworthy, downloads page, add links to previous version to archive page
  • Scan Bugzilla for open bugs that are targeted at the milestone or bugs that are still open but solved, verify target version of closed bugs
  • Notify the newsgroup
  • Announce via Blog
  • Re-deploy demo applications (in oder to demonstrate the new features from the milestone)

Procedure for release builds

additional steps to do when creating release builds

  • ensure version numbers in bundle manifests
  • ensure legal files (see [1])
    • check that about.html are included in source build
  • update infocenter content and links to infocenter from project home page
  • notify newsgroup and mailing list
  • update help plugin
  • Check copyright year and version number of JavaDoc (search for "JavaDoc" in org.eclipse.rap.releng/tooling/customTargets.xml)
  • Move old builds to archive (dev.eclipse.org:/home/data/httpd/archive.eclipse.org/rt/rap/downloads), update archive page
  • Update the P2-repository URLs of install target action (see class o.e.r.ui.internal.intro.target.InstallTargetDialog)
  • Update the RAP-tooling entry in the Eclipse Marketplace and in the Yoxos Marketplace. They should point to the latest release. (Beyhan)

Simultaneous Release

Back to the top