mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix GroovyCompilerTest: order chunk rebuild when stub generation failed (with NCDFE)
This commit is contained in:
+4
@@ -184,6 +184,10 @@ public abstract class GroovycOutputParser {
|
||||
LOG.debug("Error message: " + message);
|
||||
return true;
|
||||
}
|
||||
if (message.getMessageText().contains(GroovyRtConstants.GROOVYC_STUB_GENERATION_FAILED)) {
|
||||
LOG.debug("Stub failed message: " + message);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (getStdErr().length() > 0) {
|
||||
LOG.debug("Non-empty stderr: '" + getStdErr() + "'");
|
||||
|
||||
+1
@@ -35,4 +35,5 @@ public class GroovyRtConstants {
|
||||
public static final String CLEAR_PRESENTABLE = "$@#$%^ CLEAR_PRESENTABLE";
|
||||
public static final String NO_GROOVY = "Cannot compile Groovy files: no Groovy library is defined";
|
||||
public static final String OPTIMIZE = "optimize";
|
||||
public static final String GROOVYC_STUB_GENERATION_FAILED = "Groovyc stub generation failed";
|
||||
}
|
||||
|
||||
@@ -194,7 +194,7 @@ public class GroovyCompilerWrapper {
|
||||
|
||||
if (forStubs) {
|
||||
collector.add(new CompilerMessage(GroovyCompilerMessageCategories.INFORMATION,
|
||||
"Groovyc stub generation failed", null, -1, -1));
|
||||
GroovyRtConstants.GROOVYC_STUB_GENERATION_FAILED, null, -1, -1));
|
||||
}
|
||||
|
||||
final StringWriter writer = new StringWriter();
|
||||
|
||||
Reference in New Issue
Block a user