mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge branch 'debug-log-level' of https://github.com/fkorotkov/intellij-community
This commit is contained in:
+3
-3
@@ -135,7 +135,7 @@ public class ContentRootDataService extends AbstractProjectDataService<ContentRo
|
||||
final ContentEntry contentEntry = findOrCreateContentRoot(model, contentRoot.getRootPath());
|
||||
contentEntry.clearExcludeFolders();
|
||||
contentEntry.clearSourceFolders();
|
||||
LOG.info(String.format("Importing content root '%s' for module '%s'", contentRoot.getRootPath(), module.getName()));
|
||||
LOG.debug(String.format("Importing content root '%s' for module '%s'", contentRoot.getRootPath(), module.getName()));
|
||||
for (SourceRoot path : contentRoot.getPaths(ExternalSystemSourceType.SOURCE)) {
|
||||
createSourceRootIfAbsent(contentEntry, path, module.getName(), JavaSourceRootType.SOURCE, false, createEmptyContentRootDirectories);
|
||||
}
|
||||
@@ -197,7 +197,7 @@ public class ContentRootDataService extends AbstractProjectDataService<ContentRo
|
||||
return;
|
||||
}
|
||||
}
|
||||
LOG.info(String.format("Importing %s for content root '%s' of module '%s'", root, entry.getUrl(), moduleName));
|
||||
LOG.debug(String.format("Importing %s for content root '%s' of module '%s'", root, entry.getUrl(), moduleName));
|
||||
SourceFolder sourceFolder = entry.addSourceFolder(toVfsUrl(root.getPath()), sourceRootType);
|
||||
if (!StringUtil.isEmpty(root.getPackagePrefix())) {
|
||||
sourceFolder.setPackagePrefix(root.getPackagePrefix());
|
||||
@@ -225,7 +225,7 @@ public class ContentRootDataService extends AbstractProjectDataService<ContentRo
|
||||
return;
|
||||
}
|
||||
}
|
||||
LOG.info(String.format("Importing excluded root '%s' for content root '%s' of module '%s'", root, entry.getUrl(), moduleName));
|
||||
LOG.debug(String.format("Importing excluded root '%s' for content root '%s' of module '%s'", root, entry.getUrl(), moduleName));
|
||||
entry.addExcludeFolder(toVfsUrl(rootPath));
|
||||
if (!Registry.is("ide.hide.excluded.files")) {
|
||||
ChangeListManager.getInstance(project).addDirectoryToIgnoreImplicitly(rootPath);
|
||||
|
||||
+2
-2
@@ -188,10 +188,10 @@ public class LibraryDependencyDataService extends AbstractDependencyDataService<
|
||||
@NotNull Library lib,
|
||||
@NotNull Module module,
|
||||
@NotNull LibraryDependencyData dependencyData) {
|
||||
LOG.info(String.format("Adding library dependency '%s' to module '%s'", lib.getName(), module.getName()));
|
||||
LOG.debug(String.format("Adding library dependency '%s' to module '%s'", lib.getName(), module.getName()));
|
||||
orderEntry.setExported(dependencyData.isExported());
|
||||
orderEntry.setScope(dependencyData.getScope());
|
||||
LOG.info(String.format(
|
||||
LOG.debug(String.format(
|
||||
"Configuring library dependency '%s' of module '%s' to be%s exported and have scope %s",
|
||||
lib.getName(), module.getName(), dependencyData.isExported() ? " not" : "", dependencyData.getScope()
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user