Questions tagged [compile-static]
18 questions
0
votes
1 answer
Compilestatic annotation on an interceptor with data response
In an interceptor I have this code:
render(contentType: 'text/json') {
msg 'Message to show'
}
It is not possible to add the @CompileStatic annotation on this interceptor, as the msg variable isn't declared.
Is there any way to write this in a…

user3728821
- 35
- 1
- 5
0
votes
0 answers
Configure GrrovyClassLoader to honor @CompileStatic annotation
I have a custom Java libary that implements business rules implemented in Groovy and provided via configuration file. I use the GroovyClassLoader to compile the business rules and return the desired class as follows:
public class…

vjanzaldi
- 1
- 1
0
votes
0 answers
trying to compile Qt with command configure -static give me an error
I am trying to compile Qt 5.4.2 on my windows 8 but it got this message:
What means: -plataform as line argument or set QMAKESPEC

Robert
- 10,403
- 14
- 67
- 117