Affects Version/s: 1.0-milestone-1
Fix Version/s: 1.0-rc-1
We hit the same issue documented here:
When gradle tries to compile (in our case) a mixed groovy/java environment on a Windows machine it returns an exception:
java.io.IOException: Cannot run program "c:\PROGRA~1\Java\jdk1.6.0_10
\jre\bin\java": CreateProcess error=87, The parameter is incorrect"
This is due to the command exceeding the size limit on command-line arguments in Windows. The build works fine in Linux.
Peter suggests turning off forking on the above thread as a workaround:
[compileGroovy, compileTestGroovy]*.groovyOptions.fork = false
The process indeed does not fork with that line, but it just hangs (even with GRADLE_OPTS set to 1G).