Skip to content

Commit 1087dc5

Browse files
committed
[releng] Require target platform bundles as minimum version
Without setting dependent plug-ins to minimum version to match the target platform we are aiming for we can imply (and therefore let install) CDT into older versions of Eclipse where CDT does not actually work. This can be exposed in very odd ways, such as IllegalAccessError, when platform has allowed API changes. However, rather than update every single bundle in CDT, only the o.e.cdt.core/ui bundles are being updated as this should achieve the desired result without every other bundle needing to be touched. See Bug 536448 Part of #77
1 parent 74f321c commit 1087dc5

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

core/org.eclipse.cdt.core/META-INF/MANIFEST.MF

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,17 @@ Export-Package: org.eclipse.cdt.core,
122122
org.eclipse.cdt.utils.som.parser,
123123
org.eclipse.cdt.utils.xcoff,
124124
org.eclipse.cdt.utils.xcoff.parser
125-
Require-Bundle: org.eclipse.cdt.core.native;bundle-version="[6.2.0,7.0.0)";visibility:=reexport,
126-
org.eclipse.core.contenttype;bundle-version="[3.8.100,4.0.0)",
127-
org.eclipse.core.expressions;bundle-version="[3.8.100,4.0.0)",
128-
org.eclipse.core.filebuffers;bundle-version="[3.7.100,4.0.0)",
129-
org.eclipse.core.filesystem;bundle-version="[1.9.200,2.0.0)",
130-
org.eclipse.core.resources;bundle-version="[3.16.0,4.0.0)",
131-
org.eclipse.core.runtime;bundle-version="[3.24.0,4.0.0)",
125+
Require-Bundle: org.eclipse.cdt.core.native;bundle-version="[6.3.0,7.0.0)";visibility:=reexport,
126+
org.eclipse.core.contenttype;bundle-version="[3.8.200,4.0.0)",
127+
org.eclipse.core.expressions;bundle-version="[3.8.200,4.0.0)",
128+
org.eclipse.core.filebuffers;bundle-version="[3.7.200,4.0.0)",
129+
org.eclipse.core.filesystem;bundle-version="[1.9.500,2.0.0)",
130+
org.eclipse.core.resources;bundle-version="[3.18.100,4.0.0)",
131+
org.eclipse.core.runtime;bundle-version="[3.26.100,4.0.0)",
132132
org.eclipse.core.variables;bundle-version="[3.5.100,4.0.0)",
133-
org.eclipse.ltk.core.refactoring;bundle-version="[3.12.100,4.0.0)",
134-
org.eclipse.osgi.services;bundle-version="[3.10.200,4.0.0)",
135-
org.eclipse.text;bundle-version="[3.12.0,4.0.0)",
133+
org.eclipse.ltk.core.refactoring;bundle-version="[3.13.0,4.0.0)",
134+
org.eclipse.osgi.services;bundle-version="[3.11.100,4.0.0)",
135+
org.eclipse.text;bundle-version="[3.12.300,4.0.0)",
136136
com.google.gson;bundle-version="[2.8.6,3.0.0)",
137137
org.eclipse.jdt.annotation;bundle-version="[2.0.0,3.0.0)";resolution:=optional
138138
Bundle-ActivationPolicy: lazy

core/org.eclipse.cdt.ui/META-INF/MANIFEST.MF

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -103,29 +103,29 @@ Export-Package: org.eclipse.cdt.internal.corext;x-internal:=true,
103103
org.eclipse.cdt.ui.wizards.conversion,
104104
org.eclipse.cdt.utils.ui.controls
105105
Require-Bundle: org.eclipse.cdt.core;bundle-version="[8.0.0,9.0.0)",
106-
org.eclipse.compare;bundle-version="[3.8.200,4.0.0)",
107-
org.eclipse.core.expressions;bundle-version="[3.8.100,4.0.0)",
108-
org.eclipse.core.filesystem;bundle-version="[1.9.200,2.0.0)",
109-
org.eclipse.core.resources;bundle-version="[3.16.0,4.0.0)",
110-
org.eclipse.core.runtime;bundle-version="[3.24.0,4.0.0)",
106+
org.eclipse.compare;bundle-version="[3.8.500,4.0.0)",
107+
org.eclipse.core.expressions;bundle-version="[3.8.200,4.0.0)",
108+
org.eclipse.core.filesystem;bundle-version="[1.9.500,2.0.0)",
109+
org.eclipse.core.resources;bundle-version="[3.18.100,4.0.0)",
110+
org.eclipse.core.runtime;bundle-version="[3.26.100,4.0.0)",
111111
org.eclipse.core.variables;bundle-version="[3.5.100,4.0.0)",
112-
org.eclipse.e4.core.contexts;bundle-version="[1.9.100,2.0.0)",
112+
org.eclipse.e4.core.contexts;bundle-version="[1.11.0,2.0.0)",
113113
org.eclipse.help;bundle-version="[3.9.100,4.0.0)",
114-
org.eclipse.jface.text;bundle-version="[3.19.0,4.0.0)",
115-
org.eclipse.ltk.core.refactoring;bundle-version="[3.12.100,4.0.0)",
116-
org.eclipse.ltk.ui.refactoring;bundle-version="[3.12.0,4.0.0)",
117-
org.eclipse.search;bundle-version="[3.14.0,4.0.0)",
118-
org.eclipse.ui;bundle-version="[3.200.0,4.0.0)",
119-
org.eclipse.ui.console;bundle-version="[3.11.100,4.0.0)",
120-
org.eclipse.ui.editors;bundle-version="[3.14.300,4.0.0)",
121-
org.eclipse.ui.forms;bundle-version="[3.11.300,4.0.0)",
122-
org.eclipse.ui.ide;bundle-version="[3.18.400,4.0.0)",
123-
org.eclipse.ui.navigator;bundle-version="[3.10.200,4.0.0)",
124-
org.eclipse.ui.navigator.resources;bundle-version="[3.8.300,4.0.0)",
125-
org.eclipse.ui.views;bundle-version="[3.11.100,4.0.0)",
126-
org.eclipse.ui.workbench.texteditor;bundle-version="[3.16.300,4.0.0)",
114+
org.eclipse.jface.text;bundle-version="[3.22.0,4.0.0)",
115+
org.eclipse.ltk.core.refactoring;bundle-version="[3.13.0,4.0.0)",
116+
org.eclipse.ltk.ui.refactoring;bundle-version="[3.12.200,4.0.0)",
117+
org.eclipse.search;bundle-version="[3.14.300,4.0.0)",
118+
org.eclipse.ui;bundle-version="[3.201.200,4.0.0)",
119+
org.eclipse.ui.console;bundle-version="[3.11.400,4.0.0)",
120+
org.eclipse.ui.editors;bundle-version="[3.14.400,4.0.0)",
121+
org.eclipse.ui.forms;bundle-version="[3.11.500,4.0.0)",
122+
org.eclipse.ui.ide;bundle-version="[3.20.0,4.0.0)",
123+
org.eclipse.ui.navigator;bundle-version="[3.10.400,4.0.0)",
124+
org.eclipse.ui.navigator.resources;bundle-version="[3.8.500,4.0.0)",
125+
org.eclipse.ui.views;bundle-version="[3.11.300,4.0.0)",
126+
org.eclipse.ui.workbench.texteditor;bundle-version="[3.16.600,4.0.0)",
127127
org.eclipse.e4.ui.css.swt.theme,
128-
org.eclipse.tools.templates.ui;bundle-version="[1.2.200,2.0.0)"
128+
org.eclipse.tools.templates.ui;bundle-version="[1.4.0,2.0.0)"
129129
Bundle-ActivationPolicy: lazy
130130
Bundle-RequiredExecutionEnvironment: JavaSE-17
131131
Automatic-Module-Name: org.eclipse.cdt.ui

0 commit comments

Comments
 (0)