Permalink
Browse files

ensure provisioning agent service started

  • Loading branch information...
1 parent a5e2cb4 commit a62b2d31e47ab417d5558b803676b73caea4b69e @aeisenberg aeisenberg committed Apr 4, 2012
@@ -1,5 +1,6 @@
package com.springsource.sts.jointgrailstests;
+import org.eclipse.core.runtime.Platform;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
@@ -17,6 +18,9 @@ static BundleContext getContext() {
*/
public void start(BundleContext bundleContext) throws Exception {
JointTestsActivator.context = bundleContext;
+
+ // ensure started so provisioning agent service is instantiated
+ Platform.getBundle("org.eclipse.equinox.p2.core").start();
}
/*

0 comments on commit a62b2d3

Please sign in to comment.