public void addBundles(File bndrun) throws Exception { Run run = Run.createRun(getWorkspace(), bndrun); List<Bundle> bundles = new ArrayList<>(); for (Container c : run.getRunbundles()) { assert c.getError() == null; Bundle bundle = context.installBundle(c.getFile() .toURI() .toString()); bundles.add(bundle); } startAll(bundles); }
public void addBundles(File bndrun) throws Exception { Run run = Run.createRun(getWorkspace(), bndrun); List<Bundle> bundles = new ArrayList<>(); for (Container c : run.getRunbundles()) { assert c.getError() == null; Bundle bundle = context.installBundle(c.getFile() .toURI() .toString()); bundles.add(bundle); } startAll(bundles); }
try (Run run = Run.createRun(bndWorkspace, bndrunFile)) { Map.Entry<String, Resource> export = run.export(ExecutableJarExporter.EXECUTABLE_JAR, Collections.emptyMap());
String bndrunName = fileName.substring(0, fileName.lastIndexOf('.')); try (Run run = Run.createRun(bndWorkspace, bndrunFile)) { String repository = run.get(DOCKER_IMAGE); if (repository == null) {