}
private BundleVersion createBundleVersionViaFileImpl(Subject subject, File distributionFile,
boolean mustBeInitialVersion, int[] initialBundleGroupIds) throws Exception {
BundleServerPluginManager manager = BundleManagerHelper.getPluginContainer().getBundleServerPluginManager();
BundleDistributionInfo info = manager.processBundleDistributionFile(distributionFile);
BundleVersion bundleVersion = createBundleVersionViaDistributionInfo(subject, info, mustBeInitialVersion,
initialBundleGroupIds);
return bundleVersion;
}