From 2fd4dbe658264ec06ca8aeb6a8032c73756bb0d7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 11:03:23 +0000 Subject: [PATCH 1/4] Initial plan From 29fdc6753d721bf7d88337d827c1548d59d2dcd2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 11:15:28 +0000 Subject: [PATCH 2/4] feat: add Eclipse version compatibility matrix workflow Agent-Logs-Url: https://github.com/tlcsdm/eclipse-generateAllSetter/sessions/90c8a443-f7bf-4adc-bfbf-f2b53ae61248 Co-authored-by: unknowIfGuestInDream <57802425+unknowIfGuestInDream@users.noreply.github.com> --- .github/workflows/compatibility.yml | 49 +++++++++++++++++++++++++++++ pom.xml | 5 ++- target-platform.target | 7 ++--- targets/2024-06.target | 11 +++++++ targets/2024-09.target | 11 +++++++ targets/2024-12.target | 11 +++++++ targets/2025-03.target | 11 +++++++ targets/2025-06.target | 11 +++++++ targets/2025-09.target | 11 +++++++ targets/2025-12.target | 11 +++++++ targets/2026-03.target | 11 +++++++ 11 files changed, 143 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/compatibility.yml create mode 100644 targets/2024-06.target create mode 100644 targets/2024-09.target create mode 100644 targets/2024-12.target create mode 100644 targets/2025-03.target create mode 100644 targets/2025-06.target create mode 100644 targets/2025-09.target create mode 100644 targets/2025-12.target create mode 100644 targets/2026-03.target diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml new file mode 100644 index 0000000..efeedff --- /dev/null +++ b/.github/workflows/compatibility.yml @@ -0,0 +1,49 @@ +name: Eclipse Version Compatibility + +on: + pull_request: + branches: [ master ] + paths-ignore: + - '**/*.md' + - 'LICENSE' + - '.gitignore' + - '.gitattributes' + - '.github/**' + workflow_dispatch: + +permissions: + contents: read + +jobs: + compatibility: + strategy: + fail-fast: false + matrix: + target: + - 2024-06 + - 2024-09 + - 2024-12 + - 2025-03 + - 2025-06 + - 2025-09 + - 2025-12 + - 2026-03 + runs-on: windows-latest + name: Eclipse ${{ matrix.target }} + + steps: + - uses: actions/checkout@v6 + - name: Set up JDK 21 + uses: actions/setup-java@v5 + with: + distribution: 'temurin' + java-version: '21' + cache: 'maven' + - name: Set up Maven + uses: stCarolas/setup-maven@v5 + with: + maven-version: '3.9.9' + - name: Build with Maven against Eclipse ${{ matrix.target }} + # Plugin is currently JavaSE-17, so 2025-03+ targets (with JavaSE-21 IUs) disable EE constraints here. + # If the plugin baseline is upgraded to JavaSE-21, this split can be removed and EE constraints can stay enabled. + run: mvn -B clean verify -ntp "-Dtarget.platform.file=targets/${{ matrix.target }}.target" "-Dtarget.resolve.with.ee.constraints=${{ startsWith(matrix.target, '2024-') && 'true' || 'false' }}" diff --git a/pom.xml b/pom.xml index ff61bbd..5b417fe 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,8 @@ UTF-8 + target-platform.target + true @@ -41,8 +43,9 @@ ${tycho.version} - ../../target-platform.target + ../../${target.platform.file} + ${target.resolve.with.ee.constraints} diff --git a/target-platform.target b/target-platform.target index 51963f7..f09162b 100644 --- a/target-platform.target +++ b/target-platform.target @@ -2,10 +2,7 @@ - - - - + - \ No newline at end of file + diff --git a/targets/2024-06.target b/targets/2024-06.target new file mode 100644 index 0000000..245b521 --- /dev/null +++ b/targets/2024-06.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2024-09.target b/targets/2024-09.target new file mode 100644 index 0000000..c00fdc1 --- /dev/null +++ b/targets/2024-09.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2024-12.target b/targets/2024-12.target new file mode 100644 index 0000000..a86b7e2 --- /dev/null +++ b/targets/2024-12.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2025-03.target b/targets/2025-03.target new file mode 100644 index 0000000..5efc81f --- /dev/null +++ b/targets/2025-03.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2025-06.target b/targets/2025-06.target new file mode 100644 index 0000000..0d60b23 --- /dev/null +++ b/targets/2025-06.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2025-09.target b/targets/2025-09.target new file mode 100644 index 0000000..7683313 --- /dev/null +++ b/targets/2025-09.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2025-12.target b/targets/2025-12.target new file mode 100644 index 0000000..07a5841 --- /dev/null +++ b/targets/2025-12.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2026-03.target b/targets/2026-03.target new file mode 100644 index 0000000..55da276 --- /dev/null +++ b/targets/2026-03.target @@ -0,0 +1,11 @@ + + + + + + + + + + + From 8928c13c1f7b69bf7901bcce847ae9ceae178963 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 11:16:13 +0000 Subject: [PATCH 3/4] fix: allow compatibility workflow changes to trigger PR checks Agent-Logs-Url: https://github.com/tlcsdm/eclipse-generateAllSetter/sessions/90c8a443-f7bf-4adc-bfbf-f2b53ae61248 Co-authored-by: unknowIfGuestInDream <57802425+unknowIfGuestInDream@users.noreply.github.com> --- .github/workflows/compatibility.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index efeedff..4b8afa0 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -8,7 +8,6 @@ on: - 'LICENSE' - '.gitignore' - '.gitattributes' - - '.github/**' workflow_dispatch: permissions: From ab3698f2594f731fa7cb13724c6101e0b372dea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E9=87=8C=E4=B8=8D=E7=9F=A5=E8=BA=AB=E6=98=AF?= =?UTF-8?q?=E5=AE=A2?= Date: Wed, 22 Apr 2026 19:37:29 +0800 Subject: [PATCH 4/4] ci: Add GitHub workflows directory to compatibility check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 梦里不知身是客 --- .github/workflows/compatibility.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index 4b8afa0..efeedff 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -8,6 +8,7 @@ on: - 'LICENSE' - '.gitignore' - '.gitattributes' + - '.github/**' workflow_dispatch: permissions: