Re: A reminder about how things are compiled

2017-12-28 Thread Daniel Sun
OK. Thanks. -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Re: A reminder about how things are compiled

2017-12-28 Thread Cédric Champeau
Nope, but I see you're using JDK 9. Maybe that's the reason. 2017-12-28 17:21 GMT+01:00 Daniel Sun : > Hi Cédric, > > I imported Groovy project into IntelliJ IDEA via opening > build.gradle, > but failed to run single test via click the "Run" button. > > Here are the error message: >

Re: A reminder about how things are compiled

2017-12-28 Thread Daniel Sun
Hi Cédric, I imported Groovy project into IntelliJ IDEA via opening build.gradle, but failed to run single test via click the "Run" button. Here are the error message: Information:javac 9.0.1 was used to compile java sources Information:2017/12/29 0:06 - Compilation completed with 9

Re: A reminder about how things are compiled

2017-12-27 Thread Cédric Champeau
Yes. 2017-12-27 14:24 GMT+01:00 Jochen Theodorou : > On 27.12.2017 13:59, Cédric Champeau wrote: > >> Actually I just tested with the native IntelliJ import, that is to say >> _without_ calling "gradle idea", and it just works out of the box (but >> there seem to be a weird delay after the execut

Re: A reminder about how things are compiled

2017-12-27 Thread Jochen Theodorou
On 27.12.2017 13:59, Cédric Champeau wrote: Actually I just tested with the native IntelliJ import, that is to say _without_ calling "gradle idea", and it just works out of the box (but there seem to be a weird delay after the execution of a test). you mean the intellij gradle import? Otherwis

Re: A reminder about how things are compiled

2017-12-27 Thread Cédric Champeau
Actually I just tested with the native IntelliJ import, that is to say _without_ calling "gradle idea", and it just works out of the box (but there seem to be a weird delay after the execution of a test). 2017-12-27 13:29 GMT+01:00 Cédric Champeau : > I think the IDE setup can be improved. I didn

Re: A reminder about how things are compiled

2017-12-27 Thread Cédric Champeau
I think the IDE setup can be improved. I didn't take at shot at this yet. 2017-12-27 13:22 GMT+01:00 Jochen Theodorou : > On 27.12.2017 10:04, Cédric Champeau wrote: > [...] > >> The consequence, however, is that any change to a Java class in Groovy >> core is going to produce a different compile

Re: A reminder about how things are compiled

2017-12-27 Thread Jochen Theodorou
On 27.12.2017 10:04, Cédric Champeau wrote: [...] The consequence, however, is that any change to a Java class in Groovy core is going to produce a different compiler. This is fine in the IDE, as long as I do not have to bootstrap immediately... which I do not have to. But I must say the IDE

A reminder about how things are compiled

2017-12-27 Thread Cédric Champeau
Hi fellow Groovy contributors! Given the recent question from Jochen about how to only execute tests from the "core" project when you "know you only modified core" triggering re-execution of tests for all modules, let me explain why this is like this. Groovy is partially written in Groovy. It mea