Skip to content

fix: ScopingFragment2 declares RUNTIME_PLUGIN on the eclipse-plugin manifest (not runtime) - #1382

Merged
joaodinissf merged 1 commit into
dsldevkit:masterfrom
joaodinissf:fix/scoping-fragment2-ui-manifest
Jul 10, 2026
Merged

fix: ScopingFragment2 declares RUNTIME_PLUGIN on the eclipse-plugin manifest (not runtime)#1382
joaodinissf merged 1 commit into
dsldevkit:masterfrom
joaodinissf:fix/scoping-fragment2-ui-manifest

Conversation

@joaodinissf

@joaodinissf joaodinissf commented May 30, 2026

Copy link
Copy Markdown
Collaborator

ScopingFragment2.generate() guards on getEclipsePlugin().getManifest() != null but adds RUNTIME_PLUGIN to getRuntime().getManifest() (already present → no-op), so generated UI plugins never get com.avaloq.tools.ddk.xtext declared as a required bundle. All six sibling *Fragment2 generators write to eclipsePlugin.manifest in this block; this aligns ScopingFragment2 with them.

Latent — not an active break: current consumers don't reference com.avaloq.tools.ddk.xtext packages directly. Pre-existing on master; the Xtend→Java migration (#1380) faithfully preserved it, this corrects it.

🤖 Generated with Claude Code

…est, not the runtime manifest

The block guarded on `getEclipsePlugin().getManifest() != null` added
RUNTIME_PLUGIN to `getRuntime().getManifest()` — which already contains it
(a no-op on a Set) — so generated UI plugins never declared the
com.avaloq.tools.ddk.xtext dependency the block was meant to add.

Every sibling generator fragment writes to eclipsePlugin.manifest in this
block (FormatFragment2, ExportFragment2, BuilderIntegrationFragment2,
CompareFragment2, ModelInferenceFragment2, CheckQuickfixProviderFragment2);
ScopingFragment2 was the lone outlier. Latent for years because the current
UI plugins do not reference com.avaloq.tools.ddk.xtext packages directly, so
the omitted Require-Bundle never caused a resolution failure.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@joaodinissf
joaodinissf force-pushed the fix/scoping-fragment2-ui-manifest branch from 61b9544 to 711060c Compare July 10, 2026 13:19
@joaodinissf
joaodinissf marked this pull request as ready for review July 10, 2026 13:33
@joaodinissf
joaodinissf requested a review from rubenporras July 10, 2026 13:35
@joaodinissf
joaodinissf merged commit 8989ede into dsldevkit:master Jul 10, 2026
4 checks passed
@joaodinissf
joaodinissf deleted the fix/scoping-fragment2-ui-manifest branch July 10, 2026 14:18
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.

2 participants