When I run groovyc without the fork option, it works fine. But with fork = "true", it crashes with an error message:
Error: Could not find or load main class org.codehaus.groovy.ant.FileSystemCompilerFacade
What is wrong here?
Ant task:
<taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc" classpathref="test.path" /> <groovyc fork="true" srcdir="../myproject/src-test" destdir="${build.test.dir}"> <javac debug="true" source="1.7" target="1.7" > <compilerarg value="-XX:-UseSplitVerifier"/> </javac> </groovyc>
EDIT: test.path contains groovy jar: (...):/home/pkalinow/(..)/groovy-all-1.8.6.jar:(...)
source share