Skip to content

Add Eclipse release compatibility matrix workflow with parameterized target platform resolution#15

Merged
unknowIfGuestInDream merged 4 commits into
masterfrom
copilot/add-eclipse-version-compatibility-ci
Apr 22, 2026
Merged

Add Eclipse release compatibility matrix workflow with parameterized target platform resolution#15
unknowIfGuestInDream merged 4 commits into
masterfrom
copilot/add-eclipse-version-compatibility-ci

Conversation

Copilot AI commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

This introduces a dedicated compatibility CI workflow to validate the plugin against Eclipse releases from 2024‑06 through 2026‑03 without modifying source files per release. It also parameterizes Tycho target resolution so compatibility checks can switch target files and EE constraint behavior via Maven properties.

  • Compatibility CI matrix

    • Added .github/workflows/compatibility.yml with a Windows matrix for:
      • 2024-06, 2024-09, 2024-12, 2025-03, 2025-06, 2025-09, 2025-12, 2026-03
    • Maven invocation now passes quoted properties to avoid PowerShell splitting:
      • target.platform.file
      • target.resolve.with.ee.constraints
    • EE constraints are enabled for 2024-* and disabled for 2025-03+ targets.
  • Target platform files

    • Added targets/*.target for all matrix versions above.
    • Each target keeps the same IU set as current baseline:
      • org.eclipse.platform.feature.group
      • org.eclipse.jdt.feature.group
    • Repository URL is version-specific under https://mirrors.aliyun.com/eclipse/releases/<version>/.
  • Baseline target indirection

    • Updated root target-platform.target to include targets/2024-06.target via a nested Target location, keeping baseline definition centralized and reusable.
  • Tycho Maven parameterization

    • Updated root pom.xml to add:
      • target.platform.file (default: target-platform.target)
      • target.resolve.with.ee.constraints (default: true)
    • Wired both into target-platform-configuration:
      • <file>../../${target.platform.file}</file>
      • <resolveWithExecutionEnvironmentConstraints>${target.resolve.with.ee.constraints}</resolveWithExecutionEnvironmentConstraints>

Example workflow command pattern:

run: mvn -B clean verify -ntp "-Dtarget.platform.file=targets/${{ matrix.target }}.target" "-Dtarget.resolve.with.ee.constraints=${{ startsWith(matrix.target, '2024-') && 'true' || 'false' }}"

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>
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>
Copilot AI changed the title [WIP] Add CI workflow for multiple Eclipse version compatibility Add Eclipse release compatibility matrix workflow with parameterized target platform resolution Apr 22, 2026
Signed-off-by: 梦里不知身是客 <liang.tang.cx@gmail.com>
@unknowIfGuestInDream unknowIfGuestInDream merged commit 5f3ca3c into master Apr 22, 2026
17 checks passed
@unknowIfGuestInDream unknowIfGuestInDream deleted the copilot/add-eclipse-version-compatibility-ci branch April 22, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add Eclipse version compatibility CI workflow

2 participants