}
public static BundleSet createBundleSet(BundlableNode bundlableNode) throws ModelOperationException {
Logger logger = bundlableNode.root().logger(BundleSetCreator.class);
BundleSetBuilder bundleSetBuilder = new BundleSetBuilder(bundlableNode);
List<LinkedAsset> seedFiles = bundlableNode.seedAssets();
String name = (bundlableNode instanceof NamedNode) ? ((NamedNode) bundlableNode).getName() : "default";
if(seedFiles.isEmpty()) {
logger.debug(Messages.BUNDLABLE_NODE_HAS_NO_SEED_FILES_MSG, bundlableNode.getTypeName(), name);
}
else {
logger.debug(Messages.BUNDLABLE_NODE_SEED_FILES_MSG, bundlableNode.getTypeName(), name, seedFilePaths(bundlableNode, seedFiles));
}
logger.debug(Messages.APP_SOURCE_LOCATIONS_MSG, bundlableNode.app().getName(), assetContainerPaths(bundlableNode.app()));
bundleSetBuilder.addSeedFiles(seedFiles);
return bundleSetBuilder.createBundleSet();
}