]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Add javax.inject dependency for 4.13 support 71/3371/2
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 16 Jan 2020 10:49:18 +0000 (12:49 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 16 Jan 2020 10:49:18 +0000 (12:49 +0200)
After eclipse 4.13 org.eclipse.core.runtime no longer re-exports
javax.inject, which means annotations like javax.inject.Inject and
javax.inject.Named must be imported by importing the javax.inject
package explicitly in bundles that use it.

This change also works with the old 4.7 Eclipse.

gitlab #405

Change-Id: I752e97570ea4917633dd655e1c6b59d98751db87

bundles/org.simantics.debug.browser.ui/META-INF/MANIFEST.MF
bundles/org.simantics.diagram/META-INF/MANIFEST.MF
bundles/org.simantics.modeling.ui/META-INF/MANIFEST.MF
bundles/org.simantics.simulation.ui/META-INF/MANIFEST.MF
bundles/org.simantics.ui/META-INF/MANIFEST.MF
bundles/org.simantics.workbench/META-INF/MANIFEST.MF

index f08f8843750518280427541d8efea8acb5a53bcb..f377235cb348a8374c3c4a6bfc767f0a60b0e68b 100644 (file)
@@ -16,5 +16,6 @@ Require-Bundle: org.eclipse.ui,
 Bundle-RequiredExecutionEnvironment: JavaSE-1.8
 Bundle-ActivationPolicy: lazy
 Bundle-Vendor: Association for Decentralized Information Management in Industry THTH ry
-Import-Package: org.eclipse.core.expressions
+Import-Package: org.eclipse.core.expressions,
+ javax.inject
 Automatic-Module-Name: org.simantics.debug.browser.ui
index 9d6016f31b068b26c1d0078a350995be6f031c75..6ca327d19b18981ca9995bb21d9a2441be476243 100644 (file)
@@ -72,7 +72,8 @@ Export-Package: org.simantics.diagram,
  org.simantics.diagram.synchronization.graph.layer,
  org.simantics.diagram.synchronization.runtime,
  org.simantics.diagram.ui
-Import-Package: org.simantics.simulation.experiment
+Import-Package: org.simantics.simulation.experiment,
+ javax.inject
 Bundle-ActivationPolicy: lazy
 Bundle-Activator: org.simantics.diagram.internal.Activator
 Bundle-Vendor: VTT Technical Research Center of Finland
index b8a6da23c63815c57db0cd2b217047c60fe71822..f6f6fa4844720b9b7e198ae879c5903aa3768f0e 100644 (file)
@@ -97,5 +97,6 @@ Bundle-Activator: org.simantics.modeling.ui.Activator
 Bundle-ActivationPolicy: lazy
 Bundle-Vendor: VTT Technical Research Centre of Finland
 Import-Package: org.osgi.service.event,
- org.simantics.views
+ org.simantics.views,
+ javax.inject
 Automatic-Module-Name: org.simantics.modeling.ui
index fbc91ca097abee6884dd46e47dea5f6ae7125e96..7bada8706ac2fa2dcf6bd12b5b13b76105b18014 100644 (file)
@@ -24,6 +24,7 @@ Require-Bundle: org.eclipse.core.runtime,
  org.eclipse.e4.core.services;bundle-version="2.0.0",
  org.eclipse.e4.ui.di,
  org.eclipse.e4.core.di.extensions;bundle-version="0.13.0"
+Import-Package: javax.inject
 Bundle-RequiredExecutionEnvironment: JavaSE-1.8
 Bundle-ActivationPolicy: lazy
 Automatic-Module-Name: org.simantics.simulation.ui
index 5d7e5d810f08eae6a811a319531db2d130dedd83..2842b50b79e3bea7c93ba494528562d80cf6151a 100644 (file)
@@ -32,6 +32,7 @@ Require-Bundle: org.eclipse.core.runtime,
  org.simantics.modeling.ontology;bundle-version="1.2.0",
  org.slf4j.api
 Bundle-ActivationPolicy: lazy
+Import-Package: javax.inject
 Export-Package: org.simantics.ui,
  org.simantics.ui.colors,
  org.simantics.ui.contribution,
index 47e0c5c7eb279a01ef091aa1151175b2f422d26b..968c1f344ec59ac865e297f9ef88f5f28f7abd60 100644 (file)
@@ -44,6 +44,7 @@ Require-Bundle: com.ibm.icu,
  org.eclipse.e4.core.contexts,
  org.eclipse.e4.ui.services,
  org.slf4j.api;bundle-version="1.7.20"
+Import-Package: javax.inject
 Bundle-RequiredExecutionEnvironment: JavaSE-1.8
 Bundle-ActivationPolicy: lazy
 Bundle-ClassPath: .