This commit is contained in:
Eugene Zhuravlev
2012-08-29 18:29:55 +02:00
parent 4d76a4ba8d
commit a923c9ac9e
2 changed files with 14 additions and 4 deletions
@@ -177,9 +177,11 @@ public class CompilerConfigurationImpl extends CompilerConfiguration implements
else {
previous = myModuleBytecodeTarget.put(module.getName(), level);
}
if (!Comparing.equal(previous, level)) {
//final Project project = module.getProject(); // todo[jeka] so what?
}
// todo: mark module as dirty in order to rebuild it completely with the new target level
//if (!Comparing.equal(previous, level)) {
// final Project project = module.getProject();
//
//}
}
@Override
@@ -53,7 +53,10 @@ import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.openapi.util.registry.Registry;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.*;
import com.intellij.openapi.vfs.LocalFileSystem;
import com.intellij.openapi.vfs.SavingRequestor;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.openapi.vfs.VirtualFileManager;
import com.intellij.openapi.vfs.encoding.EncodingManager;
import com.intellij.openapi.vfs.newvfs.BulkFileListener;
import com.intellij.openapi.vfs.newvfs.events.VFileEvent;
@@ -276,6 +279,11 @@ public class BuildManager implements ApplicationComponent{
}
catch (RejectedExecutionException ignored) {
// we were shut down
myAutoMakeInProgress.set(false);
}
catch (Throwable e) {
myAutoMakeInProgress.set(false);
throw new RuntimeException(e);
}
}
else {