-
Notifications
You must be signed in to change notification settings - Fork 5
Allow to set groovyc target version #32
Description
Currently I can not set target or source attribute on ant.groovyc task - gaelykPrecompileGroovlet, gaelykPrecompileTemplate.
And when I run gaeRun task with --debug switch I see "Annotations are not supported in the current runtime. Please make sure you are running on a JVM >= 1.5" on command output.
It is just in case "-Dgroovy.target.bytecode=1.6" switch is used. I used that switch because I am looking for fixing of following bug:
Application with groovy sources placed in src/main/groovy works correctly. When I place same groovy sources to src/main/webapp/WEB-INF/groovy I got: "The class XYZ refers to the class XYZ and uses 1 parameters, but the referred class takes no parameters". And mentioned switch "groovy.target.bytecode" I used to set target jdk version of "hot-deploy"/rad Groovy Script recompiller.