MovingBlocks/Terasology — Issue #122: $ gant compile fails
Author: rapodaca
Created: 2012-02-19 06:48:04+00:00
State: open

I'm trying to create a 'run' task for single-click run. I'm getting stuck with the compile task.

It works when using:

$ gant compileAll

But when using it in a run task like:

target('run', 'Run') {
depends(compile)
}

it throws.

Sure enough, just running the compile file also bombs:

$ gant compile
compile:
groovy.lang.MissingMethodException: No signature of method: build.groovyc() is applicable for argument types: (java.util.LinkedHashMap, build$_run_closure10_closure20) values: [[srcdir:src, destdir:out/classes, fork:true], build$_run_closure10_closure20@6e8ef177]

I found this (from 2008!) which might be relevant:

http://groovy.329449.n5.nabble.com/I-m-stuck-in-taskdef-Groovyc-cannot-be-found-hell-td392642.html