Add explicit dependency to scope.lttng.kernel plugin
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Tue, 27 Jun 2017 21:32:33 +0000 (17:32 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Thu, 29 Jun 2017 17:40:36 +0000 (13:40 -0400)
Since that plugin does not provide extension points, we need to ensure
it gets loaded before the "views" UI plugin.

Change-Id: If4d7fa9b6ab7ff5d3c6ea50ef1681a89c5ebbf0c
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
tmf/org.lttng.scope.tmf2.views.ui/META-INF/MANIFEST.MF
tmf/org.lttng.scope.tmf2.views.ui/src/org/lttng/scope/tmf2/views/ui/activator/internal/Activator.java

index 950203b8b6751edde8e363b45f702bb9cf712168..1b6fe073e245145df9633447f175e1213e1e85d1 100644 (file)
@@ -14,7 +14,8 @@ Require-Bundle: org.eclipse.core.runtime,
  org.eclipse.tracecompass.tmf.core,
  org.eclipse.tracecompass.tmf.ui,
  org.eclipse.core.resources,
- org.eclipse.tracecompass.common.core
+ org.eclipse.tracecompass.common.core,
+ org.lttng.scope.lttng.kernel.core
 Export-Package: org.lttng.scope.tmf2.views.ui.activator.internal;x-internal:=true,
  org.lttng.scope.tmf2.views.ui.jfx,
  org.lttng.scope.tmf2.views.ui.jfx.examples,
index c418eac2274f6f9d44fc392450f2f9acd649b1f1..66543a54d22fcc804878913111279b3bfed5697d 100644 (file)
@@ -32,6 +32,13 @@ public class Activator extends ScopeUIActivator {
     @Override
     protected void startActions() {
         Platform.setImplicitExit(false);
+
+        /*
+         * Explicitly load plugins we know we depend on. This is very ugly, but since
+         * we're not using extension points for our extensions we have to do it this
+         * way, until we do proper orchestration.
+         */
+        new org.lttng.scope.lttng.kernel.core.activator.internal.Startup();
     }
 
     @Override
This page took 0.044932 seconds and 5 git commands to generate.