when using external build do not validate configuration of old compilers

This commit is contained in:
Eugene Zhuravlev
2012-07-11 18:12:58 +02:00
parent 913ee1ba40
commit f3bc3ea231
@@ -2516,10 +2516,12 @@ public class CompileDriver {
}
}
}
final Compiler[] allCompilers = compilerManager.getCompilers(Compiler.class);
for (Compiler compiler : allCompilers) {
if (!compiler.validateConfiguration(scope)) {
return false;
if (!useOutOfProcessBuild()) {
final Compiler[] allCompilers = compilerManager.getCompilers(Compiler.class);
for (Compiler compiler : allCompilers) {
if (!compiler.validateConfiguration(scope)) {
return false;
}
}
}
return true;