From 4e01f2131c0dfaf5a421d770527a016bdcf6e9f4 Mon Sep 17 00:00:00 2001 From: Krum Tsvetkov Date: Wed, 1 Apr 2026 12:51:30 +0200 Subject: [PATCH 1/2] Prepare standalone build with Eclipse 2026-03, #174 - add a new target definition -- use Eclipse 2026-03 -- updated BIRT to 4.23 - added a p2.inf file for the standalone build to reference the 2026-03 update site - increased the minimal required Java version to 21 as both BIRT and the platform require it (CI build and p2.inf) Signed-off-by: Krum Tsvetkov --- .github/workflows/ci.yaml | 2 +- org.eclipse.mat.product/mat-2026-03.p2.inf | 15 +++++++ org.eclipse.mat.product/mat.p2.inf | 6 +-- org.eclipse.mat.targetdef/mat-2026-03.target | 45 ++++++++++++++++++++ 4 files changed, 64 insertions(+), 4 deletions(-) create mode 100644 org.eclipse.mat.product/mat-2026-03.p2.inf create mode 100644 org.eclipse.mat.targetdef/mat-2026-03.target diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d262077d..be752854 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: - name: Set up Java uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' architecture: x64 diff --git a/org.eclipse.mat.product/mat-2026-03.p2.inf b/org.eclipse.mat.product/mat-2026-03.p2.inf new file mode 100644 index 00000000..2a15d023 --- /dev/null +++ b/org.eclipse.mat.product/mat-2026-03.p2.inf @@ -0,0 +1,15 @@ +properties.0.name = org.eclipse.equinox.p2.description +properties.0.value = Eclipse Memory Analyzer tool is a fast and feature-rich Java heap analyzer \ +that helps you find memory leaks and reduce memory consumption.\n\ +Use the Memory Analyzer to analyze production heap dumps with hundreds of millions of objects, quickly calculate the retained sizes of objects, see who is preventing the Garbage Collector from collecting objects, run a report to automatically extract leak suspects. +properties.1.name = org.eclipse.equinox.p2.provider +properties.1.value = Eclipse Memory Analyzer +requires.2.namespace = org.eclipse.equinox.p2.iu +requires.2.name = org.eclipse.ui.themes +requires.2.range = [1.0.0, 2.0.0) +instructions.configure=\ + org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/readme);\ + org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/artifacts.xml);\ + addRepository(type:0,name:Eclipse 2026-03,location:https${#58}//download.eclipse.org/releases/2026-03/,enabled:true);\ + addRepository(type:1,name:Eclipse 2026-03,location:https${#58}//download.eclipse.org/releases/2026-03/,enabled:true);\ + setProgramProperty(propName:osgi.requiredJavaVersion,propValue:21); diff --git a/org.eclipse.mat.product/mat.p2.inf b/org.eclipse.mat.product/mat.p2.inf index d4b5bfb9..2a15d023 100644 --- a/org.eclipse.mat.product/mat.p2.inf +++ b/org.eclipse.mat.product/mat.p2.inf @@ -10,6 +10,6 @@ requires.2.range = [1.0.0, 2.0.0) instructions.configure=\ org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/readme);\ org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/artifacts.xml);\ - addRepository(type:0,name:Eclipse 2024-12,location:https${#58}//download.eclipse.org/releases/2024-12/,enabled:true);\ - addRepository(type:1,name:Eclipse 2024-12,location:https${#58}//download.eclipse.org/releases/2024-12/,enabled:true);\ - setProgramProperty(propName:osgi.requiredJavaVersion,propValue:17); + addRepository(type:0,name:Eclipse 2026-03,location:https${#58}//download.eclipse.org/releases/2026-03/,enabled:true);\ + addRepository(type:1,name:Eclipse 2026-03,location:https${#58}//download.eclipse.org/releases/2026-03/,enabled:true);\ + setProgramProperty(propName:osgi.requiredJavaVersion,propValue:21); diff --git a/org.eclipse.mat.targetdef/mat-2026-03.target b/org.eclipse.mat.targetdef/mat-2026-03.target new file mode 100644 index 00000000..6d3bfbe8 --- /dev/null +++ b/org.eclipse.mat.targetdef/mat-2026-03.target @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 931eae37c888e8a48cf2ea0e3e7df59bfa3890bd Mon Sep 17 00:00:00 2001 From: Krum Tsvetkov Date: Wed, 1 Apr 2026 14:03:20 +0200 Subject: [PATCH 2/2] Use maven 3.9.14 in Github actions Signed-off-by: Krum Tsvetkov --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index be752854..af59287f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ permissions: contents: read env: - MAVEN_VERSION: 3.9.12 + MAVEN_VERSION: 3.9.14 jobs: build_and_test: