mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
more groovyc logging
This commit is contained in:
+4
-1
@@ -58,7 +58,7 @@ public class GroovycOSProcessHandler extends BaseOSProcessHandler {
|
||||
super.notifyTextAvailable(text, outputType);
|
||||
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Received from groovyc: " + text);
|
||||
LOG.debug("Received from groovyc " + outputType + ": " + text);
|
||||
}
|
||||
|
||||
if (outputType == ProcessOutputTypes.SYSTEM) {
|
||||
@@ -197,14 +197,17 @@ public class GroovycOSProcessHandler extends BaseOSProcessHandler {
|
||||
|
||||
public boolean shouldRetry() {
|
||||
if (getProcess().exitValue() != 0) {
|
||||
LOG.debug("Non-zero exit code");
|
||||
return true;
|
||||
}
|
||||
for (CompilerMessage message : compilerMessages) {
|
||||
if (message.getKind() == BuildMessage.Kind.ERROR) {
|
||||
LOG.debug("Error message: " + message);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (getStdErr().length() > 0) {
|
||||
LOG.debug("Non-empty stderr: '" + getStdErr() + "'");
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user