mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
minor
This commit is contained in:
+15
@@ -181,6 +181,21 @@ public class GroovycOSProcessHandler extends BaseOSProcessHandler {
|
||||
return toRecompileFiles;
|
||||
}
|
||||
|
||||
public boolean shouldRetry() {
|
||||
if (getProcess().exitValue() != 0) {
|
||||
return true;
|
||||
}
|
||||
for (CompilerMessage message : compilerMessages) {
|
||||
if (message.getKind() == BuildMessage.Kind.ERROR) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (getStdErr().length() > 0) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public List<CompilerMessage> getCompilerMessages() {
|
||||
ArrayList<CompilerMessage> messages = new ArrayList<CompilerMessage>(compilerMessages);
|
||||
final StringBuffer unparsedBuffer = getStdErr();
|
||||
|
||||
Reference in New Issue
Block a user