eclipse-xtext / eclipse-xtext/xtext

Do not require Xtend.lib at runtime, when using XBase

Open
#3,585 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
831
Forks
330
Avg merge
3d 7h
Merged PRs (30d)
12

Description

To me it seems that org.eclipse.xtext.xbase can be used at runtime without org.eclipse.xtend.lib.annotations.*, therefere I suggest in
org.eclipse.xtext.xbase/META-INF/MANIFEST.MF:Require-Bundle: to make org.eclipse.xtend.lib optional.

This will allow applications, utilizing XBase, not skip the distribution of org.eclipse.xtend.lib-2.41.0.jar, if it makes sense in the concrete case.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in org.eclipse.xtext.xbase/META-INF/MANIFEST.MF and inspect the Require-Bundle entry for org.eclipse.xtend.lib. Verify whether XBase can run without org.eclipse.xtend.lib-2.41.0.jar, and consider the issue complete when that bundle is optional without breaking XBase applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.