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() + "'");
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";
}
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();