Document Copilot agent install step for local builds#28
Merged
Conversation
Agent-Logs-Url: https://github.com/microsoft/copilot-for-eclipse/sessions/e97bdfa8-ea45-4c02-b2a2-7c3ab6b416d2 Co-authored-by: jdneo <6193897+jdneo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/copilot-for-eclipse/sessions/e97bdfa8-ea45-4c02-b2a2-7c3ab6b416d2 Co-authored-by: jdneo <6193897+jdneo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix build issue for copilot-agent
Document Copilot agent install step for local builds
Apr 28, 2026
jdneo
approved these changes
Apr 28, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates contributor documentation to prevent local Maven/Tycho builds from failing on fresh clones by documenting the required Copilot agent npm install step (which generates copilot-agent/dist/ and populates the platform agent fragments).
Changes:
- Updates prerequisites to include Node.js/npm and align Java with CI’s Temurin 17.
- Documents running
npm i -fincom.microsoft.copilot.eclipse.core/copilot-agentbefore Maven build commands. - Adds brief rationale explaining that npm
postinstallpopulatescopilot-agent/dist/and agent bundles needed by Tycho.
ethanyhou
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Local Maven packaging fails from a fresh clone because
com.microsoft.copilot.eclipse.core/build.propertiesincludescopilot-agent/dist/, but that directory is generated by the Copilot agent npm install step. CI already performs this setup before running Maven.Build prerequisites
Local build flow
Contributor validation flow
npm i -fruns the agentpostinstallscript to populatecopilot-agent/dist/and platform-specific agent bundles required by Tycho.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
www.eclipse.org/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -classpath /home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/boot/plexus-classworlds-2.8.0.jar -Dclassworlds.conf=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/bin/m2.conf -Dmaven.home=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1 -Dlibrary.jansi.path=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/copilot-for-eclipse/copilot-for-eclipse org.codehaus.plexus.classworlds.launcher.Launcher clean package --batch-mode(dns block)/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -classpath /home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/boot/plexus-classworlds-2.8.0.jar -Dclassworlds.conf=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/bin/m2.conf -Dmaven.home=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1 -Dlibrary.jansi.path=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/copilot-for-eclipse/copilot-for-eclipse org.codehaus.plexus.classworlds.launcher.Launcher clean verify --batch-mode(dns block)/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -classpath /home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/boot/plexus-classworlds-2.8.0.jar -Dclassworlds.conf=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/bin/m2.conf -Dmaven.home=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1 -Dlibrary.jansi.path=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/copilot-for-eclipse/copilot-for-eclipse org.codehaus.plexus.classworlds.launcher.Launcher clean verify --batch-mode -Dorg.eclipse.wildwebdeveloper.nodeJSLocation=/home/REDACTED/.npm/_npx/1bd81ab945294a66/node_modules/node/bin/node(dns block)If you need me to access, download, or install something from one of these locations, you can either: