Skip to content

Drop obsolete ui.terminal.tm bundle and dynamic terminal bundle loading - #471

Draft
Dietrich Travkin (travkin79) wants to merge 17 commits into
microsoft:mainfrom
travkin79:drop-tm-bundle
Draft

Dietrich Travkin (travkin79) wants to merge 17 commits into
microsoft:mainfrom
travkin79:drop-tm-bundle

Conversation

@travkin79

Copy link
Copy Markdown
Contributor

This is a follow-up PR to PR #368.

PR #368 upgrades the target platform to Eclipse 2025-12 and JDK 21.

As a follow-up task, this PR removes:

  • the legacy bundle com.microsoft.copilot.eclipse.ui.terminal.tm bundle
  • the dynamic loading of one of the terminal bundles (modern com.microsoft.copilot.eclipse.ui.terminal or legacy com.microsoft.copilot.eclipse.ui.terminal.tm), since we'll now always load the modern terminal bundle using the Eclipse plug-in dependency mechanism.

Avoid "OSGi access rules not enforced by classpath access rules, which can lead to classloading errors at runtime."
Build the new target file for terminal.tm bundle (2024-12.target) similar to 2025-12.target and update docs.
Add separate LSP4E update site to target definition so that we can increase the LSP4E version without having to lift the Eclipse version.
This way, we'll always offer the right version of LSP4E and LSP4J bundles on our own update site.
…vider

The 2025-12 target aggregates junit-jupiter versions up to 6.x. With only a minimum version constraint, ui.jobs.test resolved JUnit 6.x, which is outside Tycho 4.0.13's provider ranges, causing 'Could not determine test framework provider'. Bound junit-jupiter api/engine/params to [5.12.0,6.0.0) and add the engine bundle so the standalone test resolves a consistent 5.x set.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Make com.microsoft.copilot.eclipse.ui.terminal an ordinary plugin instead of an embedded JAR installed at runtime. Remove the obsolete code for dynamically installing terminal bundles via TerminalServiceManager .

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant