// Attempt to install bundle from the modules hirarchy
modulesFile = getRepositoryEntry(modulesDir, identifier);
if (modulesFile != null) {
URL url = modulesFile.toURI().toURL();
VirtualFile virtualFile = AbstractVFS.toVirtualFile(url);
if (BundleInfo.isValidBundle(virtualFile)) {
ROOT_LOGGER.foundOsgiBundle(modulesFile);
return installBundleFromURL(bundleManager, url, startLevel);
}
}