It seems groovy-eclipse-batch since 2.4.13-02 doesn't like the extra option for meminitial (-J-Xms) and memmax (-J-Xmx) after the arguments file anymore. You get this error:
Failure executing groovy-eclipse compiler:
File -J-Xmx2048m is missing
The simplest fix seems to me to move this block of code
|
if (isNotBlank(config.getMaxmem())) { |
|
cli.addArguments(new String[] {"-J-Xmx" + config.getMaxmem()}); |
|
} |
|
|
|
if (isNotBlank(config.getMeminitial())) { |
|
cli.addArguments(new String[] {"-J-Xms" + config.getMeminitial()}); |
|
} |
some lines up before the argument file, right?
It seems groovy-eclipse-batch since 2.4.13-02 doesn't like the extra option for meminitial (
-J-Xms) and memmax (-J-Xmx) after the arguments file anymore. You get this error:The simplest fix seems to me to move this block of code
groovy-eclipse/extras/groovy-eclipse-compiler/src/main/java/org/codehaus/groovy/eclipse/compiler/GroovyEclipseCompiler.java
Lines 353 to 359 in e90dd75
some lines up before the argument file, right?