mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not differentiate & integrate files for the chunk where compilation errors occurred. (consistent with timestamp update strategy for such chunks)
This commit is contained in:
@@ -268,6 +268,10 @@ public class CompileContext extends UserDataHolderBase implements MessageHandler
|
||||
myDelegateMessageHandler.processMessage(msg);
|
||||
}
|
||||
|
||||
public boolean errorsDetected() {
|
||||
return myErrorsFound;
|
||||
}
|
||||
|
||||
public void processFilesToRecompile(ModuleChunk chunk, FileProcessor processor) throws IOException {
|
||||
for (Module module : chunk.getModules()) {
|
||||
myFsState.processFilesToRecompile(this, module, processor);
|
||||
|
||||
@@ -56,6 +56,9 @@ public abstract class ModuleLevelBuilder extends Builder {
|
||||
* @throws Exception
|
||||
*/
|
||||
public final boolean updateMappings(CompileContext context, final Mappings delta, ModuleChunk chunk, Collection<File> filesToCompile, Collection<File> successfullyCompiled) throws IOException {
|
||||
if (context.errorsDetected()) {
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
boolean additionalPassRequired = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user