public static void mapExtension(final File unpackedNar, final BundleCoordinate bundleCoordinate, final File docsDirectory, final ExtensionMapping mapping) throws IOException { final File bundledDependencies = new File(unpackedNar, "NAR-INF/bundled-dependencies"); unpackBundleDocs(docsDirectory, mapping, bundleCoordinate, bundledDependencies); }
private static void mapExtensions(final Map<File, BundleCoordinate> unpackedNars, final File docsDirectory, final ExtensionMapping mapping) throws IOException { for (final Map.Entry<File, BundleCoordinate> entry : unpackedNars.entrySet()) { final File unpackedNar = entry.getKey(); final BundleCoordinate bundleCoordinate = entry.getValue(); final File bundledDependencies = new File(unpackedNar, "NAR-INF/bundled-dependencies"); unpackBundleDocs(docsDirectory, mapping, bundleCoordinate, bundledDependencies); } }
unpackBundleDocs(docsWorkingDir, extensionMapping, systemBundle.getBundleDetails().getCoordinate(), systemBundle.getBundleDetails().getWorkingDirectory());