Skip to content

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

Draft
joaodinissf wants to merge 1 commit into
dsldevkit:masterfrom
joaodinissf:fix/scoping-fragment2-ui-manifest
Draft

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

Conversation

@joaodinissf

Copy link
Copy Markdown
Collaborator

Stacked on #1380 (the scope.generator Xtend→Java migration). The fix branch is based on the migration branch, so until #1380 merges this PR's diff also shows the migration commit — it reduces to the single-line fix automatically once #1380 lands.

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 migration 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 d208d5c to 61b9544 Compare July 7, 2026 15:53
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