Skip to content

Commit

Permalink
Remove redundant bundle requirements that are already fulfilled due t…
Browse files Browse the repository at this point in the history
…o re-exports (#2893)

* Reduced number of Guava bundle requirements to guide the OSGI resolver
* Removed redundant require-bundle entries for xtext.util

It's re-exported from org.eclipse.xtext and thus the additional
bundle requirement makes it harder for the OSGI resolver to find
solutions (as counter-intuitive as it sounds)

* Marked xtend.lib as non-optional in xtext.core

In fact it wasn't optional at all since it brought the xbase libraries
into the class path which are used throughout the entire bundle code.

Also xtext.util has already a mandatory dependency on xtend.lib so it
does no harm to require it from xtext.

* Removed redundant bundle requirements to com.google.inject

It's re-exported from xtext.util and thereby transitively by xtext

Signed-off-by: Sebastian Zarnekow <[email protected]>
  • Loading branch information
szarnekow authored Jan 8, 2024
1 parent 316daf7 commit d364c05
Show file tree
Hide file tree
Showing 41 changed files with 13 additions and 59 deletions.
3 changes: 0 additions & 3 deletions org.eclipse.xtend.core.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ Require-Bundle: org.eclipse.xtend.core;bundle-version="2.34.0",
org.eclipse.xtext.testing;bundle-version="2.34.0",
org.eclipse.xtext.xbase.testing;bundle-version="2.34.0",
org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.34.0",
org.eclipse.xtext.xbase.ui;bundle-version="2.34.0",
org.hamcrest.core;bundle-version="1.1.0",
org.eclipse.core.runtime;bundle-version="3.24.100",
org.eclipse.equinox.common;bundle-version="3.16.0",
org.eclipse.emf.codegen.ecore;bundle-version="2.29.0",
com.google.guava;bundle-version="[33.0.0,34.0.0)",
com.google.inject;bundle-version="7.0.0",
org.eclipse.core.resources;bundle-version="3.16.100",
org.eclipse.emf.ecore,
org.eclipse.xtext.builder;bundle-version="2.34.0",
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtend.core/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="3.24.100",
org.eclipse.xtext.common.types;bundle-version="2.34.0";visibility:=reexport,
org.eclipse.xtext.xbase;bundle-version="2.34.0";visibility:=reexport,
org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
org.eclipse.jdt.core;bundle-version="3.29.0";resolution:=optional;x-installation:=greedy,
org.eclipse.xtext.xbase.lib;bundle-version="2.34.0",
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtend.ide.swtbot.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Require-Bundle: org.eclipse.swtbot.eclipse.core;bundle-version="2.6.0",
org.eclipse.xtend.ide;bundle-version="2.34.0",
org.eclipse.ui;bundle-version="3.201.0",
org.eclipse.jdt.ui;bundle-version="3.26.0",
com.google.inject;bundle-version="7.0.0",
org.eclipse.xtext.ui;bundle-version="2.34.0",
org.hamcrest.library;bundle-version="1.3.0",
org.eclipse.xtend.core;bundle-version="2.34.0",
Expand Down
4 changes: 1 addition & 3 deletions org.eclipse.xtend.performance.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Bundle-Version: 2.34.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-11
Bundle-Vendor: Eclipse Xtext
Bundle-ClassPath: .
Require-Bundle: com.google.inject;bundle-version="7.0.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
Require-Bundle: org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.mwe2.lib;bundle-version="2.17.0",
org.eclipse.emf.mwe2.runtime;bundle-version="2.17.0",
org.eclipse.xtend.lib;bundle-version="2.34.0",
Expand All @@ -19,7 +18,6 @@ Require-Bundle: com.google.inject;bundle-version="7.0.0",
org.eclipse.emf.mwe.utils;bundle-version="1.10.0",
org.eclipse.ui.editors;bundle-version="3.14.300",
org.eclipse.xtext.builder;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.mwe2.launch;bundle-version="2.17.0";resolution:=optional,
org.eclipse.xtext.ui.testing;bundle-version="2.34.0"
Automatic-Module-Name: org.eclipse.xtend.performance.tests
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.builder.standalone;bundle-version="2.34.0",
org.eclipse.xtext.testing;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore,
org.eclipse.emf.common,
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.builder.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Bundle-Vendor: Eclipse Xtext
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.builder;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.common;bundle-version="2.24.0",
org.eclipse.xtext.ui;bundle-version="2.34.0",
Expand Down
3 changes: 0 additions & 3 deletions org.eclipse.xtext.builder/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ Export-Package: org.eclipse.xtext.builder;version="2.34.0",
org.eclipse.xtext.builder.trace.impl;version="2.34.0";x-internal:=true,
org.eclipse.xtext.builder.trace.util;version="2.34.0";x-internal:=true
Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0";visibility:=reexport,
com.google.guava;bundle-version="[33.0.0,34.0.0)",
com.google.inject;bundle-version="7.0.0",
org.eclipse.core.resources;bundle-version="3.16.100";resolution:=optional;x-installation:=greedy,
org.eclipse.jdt.core;bundle-version="3.29.0";resolution:=optional;x-installation:=greedy,
org.eclipse.core.runtime;bundle-version="3.24.100";resolution:=optional;x-installation:=greedy,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Bundle-Version: 2.34.0.qualifier
Bundle-Vendor: %providerName
Bundle-RequiredExecutionEnvironment: JavaSE-11
Bundle-Localization: plugin
Require-Bundle: org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.xtext.common.types;bundle-version="2.34.0",
Require-Bundle: org.eclipse.xtext.common.types;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.mwe2.runtime,
org.eclipse.xtext;bundle-version="2.34.0",
Expand Down
2 changes: 0 additions & 2 deletions org.eclipse.xtext.common.types.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Require-Bundle: org.eclipse.xtext.common.types;bundle-version="2.34.0";visibilit
org.eclipse.ui;bundle-version="3.201.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.jdt.core;bundle-version="3.29.0",
com.google.inject;bundle-version="7.0.0",
org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.core.runtime;bundle-version="3.24.100",
org.eclipse.core.resources;bundle-version="3.16.100",
Expand All @@ -19,7 +18,6 @@ Require-Bundle: org.eclipse.xtext.common.types;bundle-version="2.34.0";visibilit
org.eclipse.jdt.core.manipulation;bundle-version="1.16.0",
org.eclipse.xtext.smap;bundle-version="2.34.0";resolution:=optional;x-installation:=greedy,
org.eclipse.xtext.common.types.edit;bundle-version="2.34.0";resolution:=optional;visibility:=reexport;x-installation:=greedy,
com.google.guava;bundle-version="[33.0.0,34.0.0)",
org.eclipse.ui.ide;bundle-version="3.13.1";resolution:=optional
Import-Package: org.apache.log4j;version="1.2.24"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Expand Down
4 changes: 1 addition & 3 deletions org.eclipse.xtext.common.types/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ Bundle-SymbolicName: org.eclipse.xtext.common.types;singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.common;bundle-version="2.24.0",
com.google.inject;bundle-version="7.0.0",
org.eclipse.xtext;bundle-version="2.34.0",
org.objectweb.asm;bundle-version="[9.6.0,9.7.0)",
org.eclipse.xtend.lib;bundle-version="2.34.0",
com.google.guava;bundle-version="[33.0.0,34.0.0)"
org.eclipse.xtend.lib;bundle-version="2.34.0"
Import-Package: io.github.classgraph;version="4.8.165",
org.apache.commons.logging;version="1.0.4";resolution:=optional,
org.apache.log4j;version="1.2.24"
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.eclipse.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.common;bundle-version="2.24.0",
org.eclipse.emf.mwe2.runtime,
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.extras.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Require-Bundle: org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
org.eclipse.xtext.common.types;bundle-version="2.34.0",
org.eclipse.xtext.ecore;bundle-version="2.34.0",
org.eclipse.xtext.testing;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.34.0",
org.eclipse.xtend.lib;bundle-version="2.34.0",
org.eclipse.xtext.xtext.generator;bundle-version="2.34.0",
Expand Down
3 changes: 1 addition & 2 deletions org.eclipse.xtext.ide/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0";visibility:=reexport,
org.eclipse.equinox.common;bundle-version="3.16.0",
org.eclipse.lsp4j;bundle-version="[0.21.1,0.22.0)";resolution:=optional,
org.eclipse.lsp4j.jsonrpc;bundle-version="[0.21.1,0.22.0)";resolution:=optional,
org.eclipse.emf.ecore.change;bundle-version="[2.14.0,3)",
com.google.guava;bundle-version="[33.0.0,34.0.0)"
org.eclipse.emf.ecore.change;bundle-version="[2.14.0,3)"
Import-Package: org.apache.log4j;version="1.2.24"
Export-Package: org.eclipse.xtext.ide;version="2.34.0";
x-friends:="org.eclipse.xtend.ide,
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.junit4.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Bundle-Vendor: Eclipse Xtext
Bundle-Version: 2.34.0.qualifier
Require-Bundle: org.junit,
org.eclipse.xtext.junit4;bundle-version="2.34.0",
com.google.inject;bundle-version="7.0.0",
org.eclipse.xtext;bundle-version="2.34.0"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Automatic-Module-Name: org.eclipse.xtext.junit4.tests
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.junit5.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.emf.mwe.utils;bundle-version="1.10.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.common;bundle-version="2.24.0",
org.eclipse.emf.mwe2.launch;bundle-version="2.17.0";resolution:=optional;x-installation:=greedy,
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.purexbase/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.emf.ecore,
org.eclipse.xtext.xbase.lib;bundle-version="2.34.0",
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.xtend.lib;bundle-version="2.34.0",
org.eclipse.emf.common,
org.eclipse.xtext.common.types;bundle-version="2.34.0",
Expand Down
3 changes: 1 addition & 2 deletions org.eclipse.xtext.testing.junit5.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0";visibility:=reexport,
org.eclipse.lsp4j;resolution:=optional,
org.eclipse.lsp4j.jsonrpc;resolution:=optional,
org.eclipse.xtend.lib;bundle-version="2.34.0",
org.eclipse.xtext.testing;bundle-version="2.34.0",
com.google.inject;bundle-version="7.0.0";visibility:=reexport
org.eclipse.xtext.testing;bundle-version="2.34.0"
Import-Package: jakarta.inject;version="2.0.1",
org.apache.log4j;version="1.2.24",
org.apache.log4j.spi;version="1.2.24",
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.testlanguages.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Require-Bundle: org.eclipse.xtext.testlanguages;bundle-version="2.34.0";visibili
org.eclipse.xtext.ui.codetemplates.ui;bundle-version="2.34.0",
org.eclipse.compare;bundle-version="3.8.300",
org.eclipse.xtend.lib;bundle-version="2.34.0";resolution:=optional,
com.google.guava;bundle-version="[33.0.0,34.0.0)",
org.eclipse.xtext.xbase.lib;bundle-version="2.34.0",
org.eclipse.core.runtime;bundle-version="3.24.100",
org.eclipse.ui.workbench;bundle-version="3.125.0";resolution:=optional,
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.testlanguages/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.emf.codegen.ecore;bundle-version="2.29.0";resolution:=optional;x-installation:=greedy,
org.eclipse.emf.mwe.utils;bundle-version="1.10.0";resolution:=optional;x-installation:=greedy,
org.eclipse.emf.mwe2.launch;bundle-version="2.17.0";resolution:=optional;x-installation:=greedy,
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.common;bundle-version="2.24.0",
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.emf.mwe.utils;bundle-version="1.10.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.common;bundle-version="2.24.0",
org.eclipse.emf.mwe2.launch;bundle-version="2.17.0";resolution:=optional;x-installation:=greedy,
Expand Down
3 changes: 1 addition & 2 deletions org.eclipse.xtext.ui.codemining/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Bundle-Vendor: Eclipse Xtext
Automatic-Module-Name: org.eclipse.xtext.ui.codemining
Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: org.eclipse.xtext.ui.codemining;version="2.34.0";x-internal:=true
Require-Bundle: com.google.guava;bundle-version="[33.0.0,34.0.0)",
org.eclipse.equinox.common,
Require-Bundle: org.eclipse.equinox.common,
org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.ui;bundle-version="2.34.0"
Import-Package: org.eclipse.jface.text,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.xtext.ui.codetemplates.tests
Bundle-Version: 2.34.0.qualifier
Bundle-Localization: plugin
Require-Bundle: com.google.inject;bundle-version="7.0.0",
org.eclipse.xtext.ui.codetemplates;bundle-version="2.34.0",
Require-Bundle: org.eclipse.xtext.ui.codetemplates;bundle-version="2.34.0",
org.eclipse.xtext.ui.codetemplates.ui;bundle-version="2.34.0",
org.eclipse.ui;bundle-version="3.201.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.ui.codetemplates/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Bundle-SymbolicName: org.eclipse.xtext.ui.codetemplates;singleton:=true
Bundle-ActivationPolicy: lazy
Bundle-Localization: plugin
Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.common;bundle-version="2.24.0",
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.ui.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Require-Bundle: org.eclipse.xtext.ui;bundle-version="2.34.0",
org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.testing;bundle-version="2.34.0",
org.eclipse.xtext.xtext.ui;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.common;bundle-version="2.24.0",
org.eclipse.ui.editors;bundle-version="3.14.300",
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="3.24.100";visibility:=r
org.eclipse.ui.views;bundle-version="3.11.100",
org.eclipse.emf.edit.ui;bundle-version="2.17.0";visibility:=reexport,
org.eclipse.ui.workbench.texteditor;bundle-version="3.16.400",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.jdt.core;bundle-version="3.29.0";resolution:=optional;x-installation:=greedy,
org.eclipse.core.expressions;bundle-version="3.8.100",
org.eclipse.search;bundle-version="3.14.100";resolution:=optional;x-installation:=greedy,
Expand Down
2 changes: 0 additions & 2 deletions org.eclipse.xtext.xbase.junit/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ Bundle-Version: 2.34.0.qualifier
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.xtext.xbase.lib;bundle-version="2.34.0";visibility:=reexport,
com.google.guava;bundle-version="[33.0.0,34.0.0)",
com.google.inject;bundle-version="7.0.0";visibility:=reexport,
org.eclipse.core.resources;bundle-version="3.16.100";resolution:=optional;visibility:=reexport;x-installation:=greedy,
org.eclipse.emf.ecore;bundle-version="2.26.0";resolution:=optional;visibility:=reexport;x-installation:=greedy,
org.eclipse.xtext;bundle-version="2.34.0";resolution:=optional;visibility:=reexport;x-installation:=greedy,
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.xbase.testlanguages/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0";visibility:=reexport,
org.eclipse.xtext.xbase;bundle-version="2.34.0";resolution:=optional;visibility:=reexport,
org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional,
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.common;bundle-version="2.24.0",
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.xbase.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Require-Bundle: org.eclipse.xtext.xbase;bundle-version="2.34.0",
org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.testing;bundle-version="2.34.0",
org.eclipse.xtext.xbase.testing;bundle-version="2.34.0",
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.xtext.common.types;bundle-version="2.34.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.34.0",
org.eclipse.emf.codegen.ecore;bundle-version="2.29.0",
Expand Down
2 changes: 0 additions & 2 deletions org.eclipse.xtext.xbase.ui.testing/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ Bundle-Version: 2.34.0.qualifier
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.xtext.xbase.lib;bundle-version="2.34.0";visibility:=reexport,
com.google.guava;bundle-version="[33.0.0,34.0.0)",
com.google.inject;bundle-version="7.0.0";visibility:=reexport,
org.eclipse.core.resources;bundle-version="3.16.100";resolution:=optional;visibility:=reexport;x-installation:=greedy,
org.eclipse.xtext.ui;bundle-version="2.34.0";resolution:=optional;visibility:=reexport;x-installation:=greedy,
org.eclipse.xtext.xbase.ui;bundle-version="2.34.0";resolution:=optional;visibility:=reexport;x-installation:=greedy,
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.xbase/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Bundle-SymbolicName: org.eclipse.xtext.xbase;singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.xtext.common.types;bundle-version="2.34.0";visibility:=reexport,
org.eclipse.xtext.util;bundle-version="2.34.0",
org.eclipse.emf.ecore;bundle-version="2.26.0",
org.eclipse.emf.common;bundle-version="2.24.0",
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.xtext.generator/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Bundle-Name: Xtext Generator 2
Bundle-Vendor: Eclipse Xtext
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext;bundle-version="2.34.0";x-installation:=greedy,
org.eclipse.xtext.util;bundle-version="2.34.0";x-installation:=greedy,
org.eclipse.xtext.xbase.lib;bundle-version="2.34.0";visibility:=reexport;x-installation:=greedy,
org.eclipse.xtend.lib;bundle-version="2.34.0",
org.eclipse.xtext.ecore;bundle-version="2.34.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ package class ImplicitFragment extends AbstractStubGeneratingFragment {
override generate() {
if (projectConfig.runtime.manifest !== null) {
projectConfig.runtime.manifest.requiredBundles.addAll(#[
'org.eclipse.xtext', 'org.eclipse.xtext.util'
'org.eclipse.xtext'
])

if (generateXtendStub) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2015, 2020 itemis AG (http://www.itemis.eu) and others.
* Copyright (c) 2015, 2024 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
Expand Down Expand Up @@ -60,7 +60,8 @@ public void initialize(final Injector injector) {

@Override
public String getXbaseLibVersionLowerBound() {
return "2.14.0";
// We re-export Guava from xbase.lib thus we need to restrict the version of the library to the latest and greatest
return "2.34.0";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void generate() {
boolean _tripleNotEquals = (_manifest != null);
if (_tripleNotEquals) {
this.getProjectConfig().getRuntime().getManifest().getRequiredBundles().addAll(
Collections.<String>unmodifiableList(CollectionLiterals.<String>newArrayList("org.eclipse.xtext", "org.eclipse.xtext.util")));
Collections.<String>unmodifiableList(CollectionLiterals.<String>newArrayList("org.eclipse.xtext")));
boolean _isGenerateXtendStub = this.isGenerateXtendStub();
if (_isGenerateXtendStub) {
Set<String> _requiredBundles = this.getProjectConfig().getRuntime().getManifest().getRequiredBundles();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Require-Bundle: org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
org.eclipse.equinox.common;bundle-version="3.16.0",
org.eclipse.xtend.lib;bundle-version="2.14.0",
org.eclipse.xtext,
org.eclipse.xtext.util,
org.eclipse.xtext.xbase,
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Require-Bundle: org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
org.eclipse.xtend.lib;bundle-version="2.14.0",
org.eclipse.xtext,
org.eclipse.xtext.common.types,
org.eclipse.xtext.util,
org.eclipse.xtext.xbase,
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0",
org.objectweb.asm;bundle-version="[9.6.0,9.7.0)";resolution:=optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Require-Bundle: org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
org.eclipse.equinox.common;bundle-version="3.16.0",
org.eclipse.xtend.lib;bundle-version="2.14.0",
org.eclipse.xtext,
org.eclipse.xtext.util,
org.eclipse.xtext.xbase,
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0"
Import-Package: org.apache.log4j
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Require-Bundle: org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
org.eclipse.xtend.lib;bundle-version="2.14.0",
org.eclipse.xtext,
org.eclipse.xtext.common.types,
org.eclipse.xtext.util,
org.eclipse.xtext.xbase,
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0",
org.objectweb.asm;bundle-version="[9.6.0,9.7.0)";resolution:=optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Bundle-Vendor: Eclipse Xtext
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.xtext.xtext.ui.graph;bundle-version="2.34.0",
org.eclipse.xtext.testing;bundle-version="2.34.0",
com.google.inject;bundle-version="7.0.0",
org.eclipse.xtext;bundle-version="2.34.0",
org.eclipse.draw2d;bundle-version="3.10.100",
org.eclipse.xtext.xtext.ui;bundle-version="2.34.0"
Expand Down
Loading

0 comments on commit d364c05

Please sign in to comment.