private static List<File> getBundlePath(final InstalledImage image) { final String prop = SecurityActions.getSystemProperty(BUNDLES_DIR); final File bundleRoots = prop != null ? new File(prop) : image.getBundlesDir(); return Collections.singletonList(bundleRoots); }
private static List<File> getBundlePath(final InstalledImage image) { final String prop = SecurityActions.getSystemProperty(BUNDLES_DIR); final File bundleRoots = prop != null ? new File(prop) : image.getBundlesDir(); return Collections.singletonList(bundleRoots); }
@Override public File getBundleRepositoryRoot() { return getInstalledImage().getBundlesDir(); }
private InstallationManager loadInstallationManager() throws IOException { List<File> moduleRoots = new ArrayList<File>(); moduleRoots.add(env.getInstalledImage().getModulesDir()); List<File> bundleRoots = new ArrayList<File>(); bundleRoots.add(env.getInstalledImage().getBundlesDir()); return new InstallationManagerImpl(env.getInstalledImage(), moduleRoots, bundleRoots, productConfig); }
File baseBundleDir = newFile(env.getInstalledImage().getBundlesDir(), SYSTEM, LAYERS, BASE); String bundleName = "bundle-test";