compilation in any Netbeans project is easy. You can easily adjust the
build file to use the groovyc compiler. For those of you who do not know
how to do this, simply perform the following:
1) Adjust build.xml by adding the following target:
<target name="-pre-compile">
<groovyc destdir="${classes.dir}"
classpath="${ your.netbeans.groovy.library.classpath}"
jointcompilationoptions="-j -Jsource=1.5 -Jtarget=1.5">
</groovyc>
</target>
2) Compile your project as normal!
All .groovy files will be compiled into Java...seamless integration. If you
are already using the "-pre-compile" target for another task, then name it
something else and adjust the build-impl.xml accordingly to include the new
target.