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 "PTP/release engineering"

< PTP
(Preparation)
(Building An Update Site)
Line 7: Line 7:
 
You will require an Eclipse installation on your local machine (architecture is not important). Follow the instructions [[PTP/environment_setup | here]] for details on how to set up your environment to build the required version of PTP. In addition, you will need to check out the <code>releng/org.eclipse.ptp-update</code> plugin. This plugin contains the PTP update site and other build tools.
 
You will require an Eclipse installation on your local machine (architecture is not important). Follow the instructions [[PTP/environment_setup | here]] for details on how to set up your environment to build the required version of PTP. In addition, you will need to check out the <code>releng/org.eclipse.ptp-update</code> plugin. This plugin contains the PTP update site and other build tools.
  
== Building An Update Site ==
+
== Building an update site ==
 +
 
 +
# Open the org.eclipse.ptp-update plugin and then the <code>site.xml</code> file.
 +
# Expand the'''Parallel Tools Platform''' category and verify that the version numbers (excluding the qualifiers) are correct for each feature. If the version number of a feature has been incremented, you will need to remove and re-add the feature from the list.
 +
# Click on '''Build All'''.
 +
# Once the build completes you should see the '''plugins''' and '''features''' folders populated with new files.
 +
 
 +
== Packaging the update site ==
 +
 
 +
The remaining actions must be undertake from the command-line. From here on it is assumed that you have a terminal window open.
 +
 
 +
# Change to the <code>''workspace''/org.eclipse.ptp-update</code> directory.
 +
# Run the command <code>./update_ptp</code>.
 +
 
 +
This will generate a zip file called <code>ptp-updatesite-''version''.zip</code> where <code>''version''</code> is the version of the build.
 +
 
 +
== Signing the plugins ==
 +
 
 +
# Copy the zip file to build.eclipse.org:/opt/public/download-staging.priv/tools/ptp
 +
# Run the command <code>ssh user@build.eclipse.org sign /opt/public/download-staging.priv/tools/ptp/ptp-updatesite-''version''.zip mail</code>. This will begin the signing process and you will be sent an email when it is completed.

Revision as of 11:20, 6 June 2008

Overview

Building a PTP release involves a number of steps that must be carried out on both a local machine (generally your workstation) and a remote machine (build.eclipse.org). This document describes these steps.

Preparation

You will require an Eclipse installation on your local machine (architecture is not important). Follow the instructions here for details on how to set up your environment to build the required version of PTP. In addition, you will need to check out the releng/org.eclipse.ptp-update plugin. This plugin contains the PTP update site and other build tools.

Building an update site

  1. Open the org.eclipse.ptp-update plugin and then the site.xml file.
  2. Expand theParallel Tools Platform category and verify that the version numbers (excluding the qualifiers) are correct for each feature. If the version number of a feature has been incremented, you will need to remove and re-add the feature from the list.
  3. Click on Build All.
  4. Once the build completes you should see the plugins and features folders populated with new files.

Packaging the update site

The remaining actions must be undertake from the command-line. From here on it is assumed that you have a terminal window open.

  1. Change to the workspace/org.eclipse.ptp-update directory.
  2. Run the command ./update_ptp.

This will generate a zip file called ptp-updatesite-version.zip where version is the version of the build.

Signing the plugins

  1. Copy the zip file to build.eclipse.org:/opt/public/download-staging.priv/tools/ptp
  2. Run the command ssh user@build.eclipse.org sign /opt/public/download-staging.priv/tools/ptp/ptp-updatesite-version.zip mail. This will begin the signing process and you will be sent an email when it is completed.

Back to the top