From 79c1901e850331d1a5fbf294c6d976a219abdc8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Sat, 8 Nov 2025 06:19:40 +0100 Subject: [PATCH] Add copilot-setup-steps and adjust AGENTS.md to reflect requirements --- .github/workflows/copilot-setup-steps.yml | 32 +++++++++++++++++++++++ AGENTS.md | 8 ++---- 2 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/copilot-setup-steps.yml diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml new file mode 100644 index 00000000000..51b896e1ee2 --- /dev/null +++ b/.github/workflows/copilot-setup-steps.yml @@ -0,0 +1,32 @@ +name: "Copilot Setup Steps" + +# Automatically run the setup steps when they are changed to allow for easy validation, and +# allow manual testing through the repository's "Actions" tab +on: + workflow_dispatch: + pull_request: + paths: + - .github/workflows/copilot-setup-steps.yml + +jobs: + # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot. + copilot-setup-steps: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + cache: 'maven' + + - name: Set up Maven 3.9.11 + uses: stCarolas/setup-maven@v5 + with: + maven-version: '3.9.11' + diff --git a/AGENTS.md b/AGENTS.md index 4cc513fb396..2fcd3d9e28b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -7,8 +7,8 @@ This file provides guidance to AI Agents (claude-code, codex, gemini cli, ...) w Eclipse Platform UI provides the UI building blocks for Eclipse IDE and Eclipse Rich Client Platform (RCP). This includes JFace, workbench, commands framework, data binding, dialogs, editors, views, perspectives, and more. Built on top of SWT (Eclipse Standard Widget Toolkit). **Key Facts:** -- **Language:** Java 17 -- **Build System:** Maven 3.9.x with Tycho (OSGi/Eclipse plugin build) +- **Language:** Java 21 +- **Build System:** Maven 3.9.11 with Tycho (OSGi/Eclipse plugin build) - **Architecture:** OSGi bundles, E4 application model ## Project Structure @@ -64,10 +64,6 @@ Each bundle contains: ### Critical Limitation -**⚠️ IMPORTANT:** Standalone `mvn clean verify` at repository root **WILL FAIL** with "Non-resolvable parent POM" error. This repository requires a parent POM from `eclipse.platform.releng.aggregator`. - -### Building Individual Bundles - Use the `-Pbuild-individual-bundles` profile: ```bash