Skip to content

Commit

Permalink
Updates for PBuild Java22 (#1821)
Browse files Browse the repository at this point in the history
1. Created java22patch maven profile.
2. Targeted RC1 repository with jdt feature version from RC1
(https://www.eclipse.org/downloads/download.php?file=/eclipse/updates/4.31-I-builds/I20240221-1800/plugins/org.eclipse.jdt_3.19.400.v20240221-1800.jar)
3. Updated patch version range.
4. Used RC1 repository for the targeted build.

Tracked in
#1820
  • Loading branch information
MohananRahul authored Feb 23, 2024
1 parent 2c1b3f0 commit 0a4e735
Show file tree
Hide file tree
Showing 25 changed files with 48 additions and 48 deletions.
20 changes: 10 additions & 10 deletions eclipse-platform-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -744,36 +744,36 @@
</build>
<profiles>
<profile>
<id>java21patch</id>
<id>java22patch</id>
<properties>
<tycho.buildqualifier.format>'v'yyyyMMdd-HHmm'_BETA_JAVA21'</tycho.buildqualifier.format>
<tycho.buildqualifier.format>'v'yyyyMMdd-HHmm'_BETA_JAVA22'</tycho.buildqualifier.format>

<featureToPatch>org.eclipse.jdt</featureToPatch>

<!--
For future versions, in addition to changing this value of "featureToPatchVersion",
the same value needs to be edited in
.../java21patch/org.eclipse.jdt.java21patch/feature.xml
.../java22patch/org.eclipse.jdt.java22patch/feature.xml
and
.../java21patch/org.eclipse.jdt-feature-dummy/feature.xml
.../java22patch/org.eclipse.jdt-feature-dummy/feature.xml
and it of course, must "match" what ever version was produced by the build specified
a few lines below, as the eclipse-p2-repo-java20patch p2 repository, as well as the lower
bound, in 'versionRangeForPatch'.
Also, when new patch created, should update the wiki at
https://wiki.eclipse.org/Java21
https://wiki.eclipse.org/Java22
-->
<!-- This needs the version of the feature to be patched. -->
<featureToPatchVersion>3.19.200.v20230705-1800</featureToPatchVersion>
<featureToPatchVersion>3.19.400.v20240221-1800</featureToPatchVersion>
<!-- Can specify an exact range here, or something of a loose range, depending on what's needed. -->
<versionRangeForPatch>[3.19.200.v20230705-1800,3.19.249.v20231213-1800)</versionRangeForPatch>
<versionRangeForPatch>[3.19.400.v20240221-1800,3.19.449.v20240612-1800)</versionRangeForPatch>
<!-- Comment this line when a patch is required on top of I-build -->
<comparator.repo>https://download.eclipse.org/eclipse/updates/4.30/R-4.30-202312010110/</comparator.repo>
<comparator.repo>https://download.eclipse.org/eclipse/updates/4.31-I-builds/I20240221-1800/</comparator.repo>
</properties>
<repositories>
<repository>
<id>eclipse-p2-repo-java21patch</id>
<url>https://download.eclipse.org/eclipse/updates/4.30/R-4.30-202312010110/</url>
<id>eclipse-p2-repo-java22patch</id>
<url>https://download.eclipse.org/eclipse/updates/4.31-I-builds/I20240221-1800/</url>
<layout>p2</layout>
</repository>
</repositories>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature id="org.eclipse.jdt.java22patch" version="0.0.0" patch="true">
<category name="Eclipse Java 22 support for 2024-03 development stream"/>
</feature>
<feature id="org.eclipse.jdt.java22patch.source" version="0.0.0" patch="true">
<category name="Eclipse Java 22 support for 2024-03 development stream"/>
</feature>
<category-def name="Eclipse Java 22 support for 2024-03 development stream" label="Eclipse Java 22 support for 2024-03 development stream">
<description>
Eclipse Java 22 support for 2024-03 development stream.
</description>
</category-def>
</site>
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>eclipse.platform.releng</groupId>
<artifactId>eclipse.platform.releng.java21patch</artifactId>
<artifactId>eclipse.platform.releng.java22patch</artifactId>
<version>4.31.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>

<groupId>eclipse.platform.releng</groupId>
<artifactId>eclipse.releng.repository.java21patch</artifactId>
<artifactId>eclipse.releng.repository.java22patch</artifactId>
<version>1.2.300-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>

Expand Down Expand Up @@ -158,7 +158,7 @@
<version>${tycho.version}</version>
<executions>
<execution>
<id>categories-java21patch</id>
<id>categories-java22patch</id>
<phase>package</phase>
<goals>
<goal>publish-categories</goal>
Expand All @@ -175,22 +175,22 @@
</configuration>
<executions>
<execution>
<id>assemble-java21patch</id>
<id>assemble-java22patch</id>
<phase>package</phase>
<configuration>
<repositoryName>Java 21 support</repositoryName>
<finalName>Java21PatchRepo</finalName>
<repositoryName>Java 22 support</repositoryName>
<finalName>Java22PatchRepo</finalName>
</configuration>
<goals>
<goal>assemble-repository</goal>
</goals>
</execution>
<execution>
<id>archive-java21patch</id>
<id>archive-java22patch</id>
<phase>pre-integration-test</phase>
<configuration>
<repositoryName>Java 21 support</repositoryName>
<finalName>Java21PatchRepo</finalName>
<repositoryName>Java 22 support</repositoryName>
<finalName>Java22PatchRepo</finalName>
</configuration>
<goals>
<goal>archive-repository</goal>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ description=Dummy feature for build-time constraint.

# "copyright" property - text of the "Feature Update Copyright"
copyright=\
Copyright (c) 2000, 2023 IBM Corporation and others.\n\
Copyright (c) 2000, 2024 IBM Corporation and others.\n\
\n\
This program and the accompanying materials\n\
are made available under the terms of the Eclipse Public License 2.0\n\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="org.eclipse.jdt"
label="%featureName"
version="3.19.200.v20230705-1800"
version="3.19.400.v20240221-1800"
provider-name="%providerName"
license-feature="org.eclipse.license"
license-feature-version="0.0.0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>eclipse.platform.releng</groupId>
<artifactId>eclipse.platform.releng.java21patch</artifactId>
<artifactId>eclipse.platform.releng.java22patch</artifactId>
<version>4.31.0-SNAPSHOT</version>
</parent>
<groupId>org.eclipse.jdt.feature</groupId>
<artifactId>org.eclipse.jdt</artifactId>
<version>3.19.200.v20230705-1800</version>
<version>3.19.400.v20240221-1800</version>
<packaging>eclipse-feature</packaging>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>eclipse.platform.releng</groupId>
<artifactId>eclipse.platform.releng.java21patch</artifactId>
<artifactId>eclipse.platform.releng.java22patch</artifactId>
<version>4.31.0-SNAPSHOT</version>
</parent>
<groupId>org.eclipse.jdt</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2023 IBM Corporation and others.
# Copyright (c) 2024 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
Expand All @@ -18,17 +18,17 @@
# This file should be translated.

# "featureName" property - name of the feature
featureName=Eclipse JDT (Java Development Tools) Patch with Java 21 support for 2023-09 development stream
featureName=Eclipse JDT (Java Development Tools) Patch with Java 22 support for 2024-03 development stream

# "providerName" property - name of the company that provides the feature
providerName=Eclipse.org

# "description" property - description of the feature
description=Eclipse Java 21 support for 2023-09 development stream.\n
description=Eclipse Java 22 support for 2024-03 development stream.\n

# "copyright" property - text of the "Feature Update Copyright"
copyright=\
Copyright (c) 2000, 2023 IBM Corporation and others.\n\
Copyright (c) 2000, 2024 IBM Corporation and others.\n\
\n\
This program and the accompanying materials\n\
are made available under the terms of the Eclipse Public License 2.0\n\
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.eclipse.jdt.java21patch"
id="org.eclipse.jdt.java22patch"
label="%featureName"
version="1.2.300.qualifier"
provider-name="%providerName"
Expand All @@ -20,7 +20,7 @@
</license>

<requires>
<import feature="org.eclipse.jdt" version="3.19.200.v20230705-1800" patch="true"/>
<import feature="org.eclipse.jdt" version="3.19.400.v20240221-1800" patch="true"/>
</requires>

<plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<version>4.31.0-SNAPSHOT</version>
</parent>
<groupId>org.eclipse.jdt.feature</groupId>
<artifactId>org.eclipse.jdt.java21patch</artifactId>
<artifactId>org.eclipse.jdt.java22patch</artifactId>
<version>1.2.300-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
# This file should be translated.

# "featureName" property - name of the feature
featureName=Eclipse JDT (Java Development Tools) Source Patch with Java 21 support for 2023-12 development stream
featureName=Eclipse JDT (Java Development Tools) Source Patch with Java 22 support for 2024-03 development stream

# "providerName" property - name of the company that provides the feature
providerName=Eclipse.org

# "description" property - description of the feature
description=Eclipse Java 21 support for 2023-12 development stream.\n
description=Eclipse Java 22 support for 2024-03 development stream.\n

# "copyright" property - text of the "Feature Update Copyright"
copyright=\
Copyright (c) 2000, 2023 IBM Corporation and others.\n\
Copyright (c) 2000, 2024 IBM Corporation and others.\n\
\n\
This program and the accompanying materials\n\
are made available under the terms of the Eclipse Public License 2.0\n\
Expand Down

0 comments on commit 0a4e735

Please sign in to comment.