mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
temp option
This commit is contained in:
@@ -164,7 +164,7 @@ public class CompileServerManager implements ApplicationComponent{
|
||||
}
|
||||
|
||||
private boolean shouldTriggerMake(List<? extends VFileEvent> events) {
|
||||
if (!CompileDriver.OUT_OF_PROCESS_MAKE_AS_SERVER) {
|
||||
if (!CompileDriver.runOutOfProcessMakeAsServer()) {
|
||||
return false;
|
||||
}
|
||||
for (VFileEvent event : events) {
|
||||
|
||||
@@ -107,7 +107,12 @@ public class CompileDriver {
|
||||
private static final Logger LOG = Logger.getInstance("#com.intellij.compiler.impl.CompileDriver");
|
||||
// to be used in tests only for debug output
|
||||
public static volatile boolean ourDebugMode = false;
|
||||
public static final boolean OUT_OF_PROCESS_MAKE_AS_SERVER = true; // out-of-process make implementation switch (server / per-project build process)
|
||||
|
||||
// todo: temp option
|
||||
private static final boolean OUT_OF_PROCESS_MAKE_AS_SERVER = false; // out-of-process make implementation switch (server / per-project build process)
|
||||
public static boolean runOutOfProcessMakeAsServer() {
|
||||
return OUT_OF_PROCESS_MAKE_AS_SERVER;
|
||||
}
|
||||
|
||||
private final Project myProject;
|
||||
private final Map<Pair<IntermediateOutputCompiler, Module>, Pair<VirtualFile, VirtualFile>> myGenerationCompilerModuleToOutputDirMap; // [IntermediateOutputCompiler, Module] -> [ProductionSources, TestSources]
|
||||
|
||||
@@ -178,7 +178,7 @@ public class BuildManager implements ApplicationComponent{
|
||||
}
|
||||
|
||||
private boolean shouldTriggerMake(List<? extends VFileEvent> events) {
|
||||
if (CompileDriver.OUT_OF_PROCESS_MAKE_AS_SERVER) {
|
||||
if (CompileDriver.runOutOfProcessMakeAsServer()) {
|
||||
return false;
|
||||
}
|
||||
for (VFileEvent event : events) {
|
||||
|
||||
Reference in New Issue
Block a user