mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
refresh output roots on external make
This commit is contained in:
@@ -635,14 +635,12 @@ public class CompileDriver {
|
||||
|
||||
CompilerCacheManager.getInstance(myProject).flushCaches();
|
||||
|
||||
if (ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
// need this for tests only;
|
||||
final Set<File> outputs = new HashSet<File>();
|
||||
for (final String path : CompilerPathsEx.getOutputPaths(ModuleManager.getInstance(myProject).getModules())) {
|
||||
outputs.add(new File(path));
|
||||
}
|
||||
CompilerUtil.refreshIOFiles(outputs);
|
||||
// refresh on output roots is required in order for the order enumerator to see all roots via VFS
|
||||
final Set<File> outputs = new HashSet<File>();
|
||||
for (final String path : CompilerPathsEx.getOutputPaths(ModuleManager.getInstance(myProject).getModules())) {
|
||||
outputs.add(new File(path));
|
||||
}
|
||||
CompilerUtil.refreshIOFiles(outputs);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user