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 "Platform-releng/Patch Build Configurations"

(Initial page)
m
Line 1: Line 1:
== Update P-build Configurations for New Java Release ==
+
== Update Patch Build Configurations for New Java Release ==
The following are instructions to update the P-build configurations for a new Java release. This task needs to be done every other release of Eclipse since a new Java release is available every 6 months. The following instructions are based on Eclipse 4.21 and Java 17. Replace the release numbers in the instructions with appropriate current release numbers.
+
The following are instructions to update the patch build configurations for a new Java release. This task needs to be done every other release of Eclipse since a new Java release is available every 6 months. The following instructions are based on Eclipse 4.21 and Java 17. Replace the release numbers in the instructions with appropriate current release numbers.
 
* Open a new Eclipse Bugzilla report: [https://bugs.eclipse.org/bugs/show_bug.cgi?id=575138 Bug 575138] - Create patch build for Java 17 support
 
* Open a new Eclipse Bugzilla report: [https://bugs.eclipse.org/bugs/show_bug.cgi?id=575138 Bug 575138] - Create patch build for Java 17 support
 
* Add the new report to the parent report: [https://bugs.eclipse.org/bugs/show_bug.cgi?id=572868 Bug 572868] - [17] Infrastructure Support for Java 17
 
* Add the new report to the parent report: [https://bugs.eclipse.org/bugs/show_bug.cgi?id=572868 Bug 572868] - [17] Infrastructure Support for Java 17

Revision as of 14:57, 17 August 2021

Update Patch Build Configurations for New Java Release

The following are instructions to update the patch build configurations for a new Java release. This task needs to be done every other release of Eclipse since a new Java release is available every 6 months. The following instructions are based on Eclipse 4.21 and Java 17. Replace the release numbers in the instructions with appropriate current release numbers.

  • Open a new Eclipse Bugzilla report: Bug 575138 - Create patch build for Java 17 support
  • Add the new report to the parent report: Bug 572868 - [17] Infrastructure Support for Java 17
  • Launch Eclipse with the eclipse.platform.releng.aggregator project
  • eclipse.platform.releng.tychoeclipsebuilder
rename folder: java16patch => java17patch
  • cje-production/mbscripts/mb300_gatherEclipseParts.sh
PATCH_BUILD_GENERIC=java17patch
  • cje-production/P-build/mb300_gatherEclipseParts.sh
PATCH_BUILD_GENERIC=java17patch
  • cje-production/P-build/buildproperties.txt
    • Enter Eclipse 4.20 build ID in BASEBUILD_ID and PREVIOUS_RELEASE_ID
    • Enter WebTools repository URL released with Eclipse 4.20 in WEBTOOLS_REPO
PATCH_OR_BRANCH_LABEL="java17patch"
PATCH_BUILD="java17patch"
BUILD_TYPE_NAME="Beta Java 17"
RELEASE_VER="4.21"
STREAM="4.21.0"
STREAMMinor="21"
BASEBUILDER_TAG="4.20"
API_PREV_REF_LABEL="4.20"
PREVIOUS_RELEASE_VER="4.20"
PREVIOUS_RELEASE_REPO_ID="4.20"
BASEBUILD_ID="R-4.20-202106111600"
PREVIOUS_RELEASE_ID="R-4.20-202106111600"
WEBTOOLS_REPO="https://download.eclipse.org/webtools/downloads/drops/R3.22.0/R-3.22.0-20210612170523/repositoryunittests/"
ECLIPSE_RUN_REPO="https://download.eclipse.org/eclipse/updates/4.21-I-builds/"
  • cje-production/streams/repositories_java17patch.txt
eclipse.jdt.core: BETA_JAVA17
eclipse.jdt.debug: BETA_JAVA17
eclipse.jdt.ui: BETA_JAVA17
eclipse.pde.build: BETA_JAVA17
eclipse.pde.ui: BETA_JAVA17
  • eclipse-platform-parent/pom.xml
    • Increment service segment of featureToPatchVersion and featureToPatchVersionPDE by 100
    • Increment qualifier segment of featureToPatchVersion and featureToPatchVersionPDE to 4.21 RC1 date
    • Increment upper range of service segment of versionRangeForPatch and versionRangeForPatchPDE by 149
    • Increment upper range of qualifier segment of versionRangeForPatch and versionRangeForPatchPDE to 4.22 M1 date
    • Enter current release latest milestone build (4.21 M2) repository URL in comparator.repo and repository url
  <profile>
     <id>java17patch</id>
     <properties>
       <qualifier.format>'v'yyyyMMdd-HHmm'_BETA_JAVA17'</qualifier.format>
       <featureToPatch>org.eclipse.jdt</featureToPatch>
       <featureToPatchPDE>org.eclipse.pde</featureToPatchPDE>
       <featureToPatchVersion>3.18.900.v20210825-1800</featureToPatchVersion>
       <featureToPatchVersionPDE>3.14.900.v20210825-1800</featureToPatchVersionPDE>
       <versionRangeForPatch>[3.18.900.v20210825-1800,3.18.949.v20211006-1800)</versionRangeForPatch>
       <versionRangeForPatchPDE>[3.14.900.v20210825-1800,3.14.949.v20211006-1800)</versionRangeForPatchPDE>
       <comparator.repo>https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210729-1800/</comparator.repo>
     </properties>
     <repositories>
      <repository>
        <id>eclipse-p2-repo-java17patch</id>
        <url>https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210729-1800/</url>
        <layout>p2</layout>
      </repository>
    </repositories>
  </profile>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/pom.xml
 <parent>
   <groupId>org.eclipse</groupId>
   <artifactId>eclipse-platform-parent</artifactId>
   <version>4.21.0-SNAPSHOT</version>
   <relativePath>../../eclipse-platform-parent</relativePath>
 </parent>
 <groupId>eclipse.platform.releng</groupId>
 <artifactId>eclipse.platform.releng.java17patch</artifactId>
 <version>4.21.0-SNAPSHOT</version>
 <packaging>pom</packaging>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/eclipse.releng.repository.java17patch/category.xml
change all occurrences: Java 16 support for 2021-03 => Java 17 support for 2021-09
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/eclipse.releng.repository.java17patch/pom.xml
    • Increment service segment of version by 100
 <parent>
   <groupId>eclipse.platform.releng</groupId>
   <artifactId>eclipse.platform.releng.java17patch</artifactId>
   <version>4.21.0-SNAPSHOT</version>
   <relativePath>../</relativePath>
 </parent>
 <groupId>eclipse.platform.releng</groupId>
 <artifactId>eclipse.releng.repository.java17patch</artifactId>
 <version>1.2.200-SNAPSHOT</version>
 <packaging>eclipse-repository</packaging>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.jdt-feature-dummy/feature.xml
    • Increment service segment of version by 100
    • Increment qualifier segment of version to 4.21 RC1 date
<feature
     id="org.eclipse.jdt"
     label="%featureName"
     version="3.18.900.v20210825-1800"
     provider-name="%providerName"
     license-feature="org.eclipse.license"
     license-feature-version="0.0.0">
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.jdt-feature-dummy/pom.xml
    • Increment service segment of version by 100
    • Increment qualifier segment of version to 4.21 RC1 date
 <parent>
   <groupId>eclipse.platform.releng</groupId>
   <artifactId>eclipse.platform.releng.java17patch</artifactId>
   <version>4.21.0-SNAPSHOT</version>
 </parent>
 <groupId>org.eclipse.jdt.feature</groupId>
 <artifactId>org.eclipse.jdt</artifactId>
 <version>3.18.900.v20210825-1800</version>
 <packaging>eclipse-feature</packaging>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.jdt.dummy/META-INF/MANIFEST.MF
    • Increment service segment of version by 100
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Dummy
Bundle-SymbolicName: org.eclipse.jdt.dummy
Bundle-Version: 1.1.200.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.jdt.dummy/pom.xml
    • Increment service segment of version by 100
 <parent>
   <groupId>eclipse.platform.releng</groupId>
   <artifactId>eclipse.platform.releng.java17patch</artifactId>
   <version>4.21.0-SNAPSHOT</version>
 </parent>
 <groupId>org.eclipse.jdt</groupId>
 <artifactId>org.eclipse.jdt.dummy</artifactId>
 <version>1.1.200-SNAPSHOT</version>
 <packaging>eclipse-plugin</packaging>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.jdt.java17patch/feature.properties
change all occurrences: Java 16 support for 2021-03 => Java 17 support for 2021-09
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.jdt.java17patch/feature.xml
    • Increment service segment of version by 100
    • Increment qualifier segment of version to 4.21 RC1 date
<feature
     id="org.eclipse.jdt.java17patch"
     label="%featureName"
     version="1.2.200.qualifier"
     provider-name="%providerName"
     license-feature="org.eclipse.license"
     license-feature-version="0.0.0">
  <description>
     %description
  </description>
  <copyright>
     %copyright
  </copyright>
  <license url="%licenseURL">
     %license
  </license>
  <requires>
     <import feature="org.eclipse.jdt" version="3.18.900.v20210825-1800" patch="true"/>
  </requires>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.jdt.java17patch/pom.xml
    • Increment service segment of version by 100
 <parent>
   <groupId>eclipse.platform.releng</groupId>
   <artifactId>eclipse.platform.releng.java17patch</artifactId>
   <version>4.21.0-SNAPSHOT</version>
 </parent>
 <groupId>org.eclipse.jdt.feature</groupId>
 <artifactId>org.eclipse.jdt.java17patch</artifactId>
 <version>1.2.200-SNAPSHOT</version>
 <packaging>eclipse-feature</packaging>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.jdt.java17patch/sourceTemplateFeature/feature.properties
change all occurrences: Java 16 support for 2021-03 => Java 17 support for 2021-09
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.pde-feature-dummy/feature.xml
    • Increment service segment of version by 100
    • Increment qualifier segment of version to 4.21 RC1 date
<feature
     id="org.eclipse.pde"
     label="%featureName"
     version="3.14.900.v20210825-1800"
     provider-name="%providerName"
     license-feature="org.eclipse.license"
     license-feature-version="0.0.0">
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.pde-feature-dummy/pom.xml
    • Increment service segment of version by 100
    • Increment qualifier segment of version to 4.21 RC1 date
 <parent>
   <groupId>eclipse.platform.releng</groupId>
   <artifactId>eclipse.platform.releng.java17patch</artifactId>
   <version>4.21.0-SNAPSHOT</version>
 </parent>
 <groupId>org.eclipse.pde.feature</groupId>
 <artifactId>org.eclipse.pde</artifactId>
 <version>3.14.900.v20210825-1800</version>
 <packaging>eclipse-feature</packaging>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.pde.dummy/META-INF/MANIFEST.MF
    • Increment service segment of version by 100
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Dummy
Bundle-SymbolicName: org.eclipse.pde.dummy
Bundle-Version: 1.1.200.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.pde.dummy/pom.xml
    • Increment service segment of version by 100
 <parent>
   <groupId>eclipse.platform.releng</groupId>
   <artifactId>eclipse.platform.releng.java17patch</artifactId>
   <version>4.21.0-SNAPSHOT</version>
 </parent>
 <groupId>org.eclipse.pde</groupId>
 <artifactId>org.eclipse.pde.dummy</artifactId>
 <version>1.1.200-SNAPSHOT</version>
 <packaging>eclipse-plugin</packaging>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.pde.java17patch/feature.properties
change all occurrences: Java 16 support for 2021-03 => Java 17 support for 2021-09
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.pde.java17patch/feature.xml
    • Increment service segment of version by 100
    • Increment qualifier segment of version to 4.21 RC1 date
<feature
     id="org.eclipse.pde.java17patch"
     label="%featureName"
     version="1.2.200.qualifier"
     provider-name="%providerName"
     license-feature="org.eclipse.license"
     license-feature-version="0.0.0">
  <description>
     %description
  </description>
  <copyright>
     %copyright
  </copyright>
  <license url="%licenseURL">
     %license
  </license>
  <requires>
     <import feature="org.eclipse.pde" version="3.14.900.v20210825-1800" patch="true"/>
  </requires>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.pde.java17patch/pom.xml
    • Increment service segment of version by 100
 <parent>
   <groupId>eclipse.platform.releng</groupId>
   <artifactId>eclipse.platform.releng.java17patch</artifactId>
   <version>4.21.0-SNAPSHOT</version>
 </parent>
 <groupId>org.eclipse.pde.feature</groupId>
 <artifactId>org.eclipse.pde.java17patch</artifactId>
 <version>1.2.200-SNAPSHOT</version>
 <packaging>eclipse-feature</packaging>
  • eclipse.platform.releng.tychoeclipsebuilder/java17patch/org.eclipse.pde.java17patch/sourceTemplateFeature/feature.properties
change all occurrences: Java 16 support for 2021-03 => Java 17 support for 2021-09
git clone -b master ssh://genie.releng@git.eclipse.org:29418/platform/eclipse.platform.releng.aggregator.git

Back to the top