Skip to content

Feature openhab.tp-xtext: don’t activate org.eclipse.xtend.lib#5317

Open
dilyanpalauzov wants to merge 1 commit intoopenhab:mainfrom
dilyanpalauzov:deactive_xtend_bundles
Open

Feature openhab.tp-xtext: don’t activate org.eclipse.xtend.lib#5317
dilyanpalauzov wants to merge 1 commit intoopenhab:mainfrom
dilyanpalauzov:deactive_xtend_bundles

Conversation

@dilyanpalauzov
Copy link
Contributor

As discussed at eclipse-xtext/xtext#3585 the XBase bundle declares that org.eclipse.xtend.lib and the transitive dependency xtend.lib.macro are required in theory, but in practice they are not needed at runtime.

By stopping openhab, cleaning the cache, changing in /usr/share/openhab/runtime/system/org/openhab/distro/distro-kar/5.1.1/distro-kar-5.1.1-features.xml and /usr/share/openhab/runtime/system/org/openhab/distro/distro/5.1.1/distro-5.1.1-features.xml the lines with org.eclipse.xtend.lib/2.40.0 and org.eclipse.xtend.lib.macro/2.40.0 to have start="false"and starting openhab, I observe that afterwards bundle:list shows:

START LEVEL 100 , List Threshold: 50
 ID │ State    │ Lvl │ Version               │ Name
────┼──────────┼─────┼───────────────────────┼─────────────────────────
140 │ Resolved │  80 │ 2.40.0.v20250825-0355 │ Xtend Runtime Library
141 │ Resolved │  80 │ 2.40.0.v20250825-0355 │ Xtend Macro Interfaces

and all my DSL rules run as expected.

  • This change avoids activating org.eclipse.xtend.lib and org.eclipse.xtend.lib.macro bundles.

@dilyanpalauzov dilyanpalauzov requested a review from a team as a code owner January 28, 2026 10:04
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