IDEA-142891 Ignore SLF4J output from Groovy compiler

This commit is contained in:
peter
2015-07-22 15:47:42 +02:00
parent 78b928fccc
commit 96d66a2ca0
@@ -69,7 +69,7 @@ public class GroovycOutputParser {
return;
}
if (outputType == ProcessOutputTypes.STDERR && !text.startsWith("Picked up JAVA_TOOL_OPTIONS")) {
if (outputType == ProcessOutputTypes.STDERR && !isSafeStderr(text)) {
stdErr.append(StringUtil.convertLineSeparators(text));
return;
}
@@ -78,6 +78,10 @@ public class GroovycOutputParser {
parseOutput(text);
}
private static boolean isSafeStderr(String line) {
return line.startsWith("SLF4J:") || line.startsWith("Picked up JAVA_TOOL_OPTIONS");
}
private final StringBuffer outputBuffer = new StringBuffer();
private void updateStatus(@NotNull String status) {