diff --git a/org.gecko.playground.exchange.client/bnd.bnd b/org.gecko.playground.exchange.client/bnd.bnd index 09db6b2..1501045 100644 --- a/org.gecko.playground.exchange.client/bnd.bnd +++ b/org.gecko.playground.exchange.client/bnd.bnd @@ -1,3 +1,4 @@ -buildpath: \ org.gecko.playground.ds.simple;version=latest,\ - org.gecko.playground.exchange.api;version=latest + org.gecko.playground.exchange.api;version=latest,\ + org.apache.felix.gogo.runtime;version=latest diff --git a/org.gecko.playground.extender.example/bnd.bnd b/org.gecko.playground.extender.example/bnd.bnd index 7e312fa..341fff6 100644 --- a/org.gecko.playground.extender.example/bnd.bnd +++ b/org.gecko.playground.extender.example/bnd.bnd @@ -1 +1,2 @@ --buildpath: org.gecko.playground \ No newline at end of file +-buildpath: \ + org.gecko.playground;version=snapshot \ No newline at end of file diff --git a/org.gecko.playground.extender/bnd.bnd b/org.gecko.playground.extender/bnd.bnd index 7932f38..0eb83fb 100644 --- a/org.gecko.playground.extender/bnd.bnd +++ b/org.gecko.playground.extender/bnd.bnd @@ -1,3 +1,4 @@ -buildpath: \ - org.osgi.framework,\ - org.osgi.util.tracker \ No newline at end of file + org.osgi.framework;version=latest,\ + org.osgi.resource;version=latest,\ + org.osgi.util.tracker;version=latest \ No newline at end of file diff --git a/org.gecko.playground.extender/src/org/gecko/playground/extender/activator/Activator.java b/org.gecko.playground.extender/src/org/gecko/playground/extender/activator/Activator.java index fa92866..e3c66d3 100644 --- a/org.gecko.playground.extender/src/org/gecko/playground/extender/activator/Activator.java +++ b/org.gecko.playground.extender/src/org/gecko/playground/extender/activator/Activator.java @@ -76,7 +76,7 @@ public Bundle addingBundle(Bundle bundle, BundleEvent event) { try { Class clazz = adapt.getClassLoader().loadClass(clazzName); Constructor constructor = clazz.getConstructor(); - Object newInstance = constructor.newInstance(null); + Object newInstance = constructor.newInstance(new Object[0]); Class[] interfaces = clazz.getInterfaces(); String[] services = new String[] {clazzName}; if(interfaces.length > 0) {