Re: How to test and deploy without groovy-all?

2020-05-19 Thread Mauro Molinari
Il 19/05/20 12:37, Andy Duncan ha scritto: I woke up early this morning and thought I could put my time to use writing a simple Gradle project that demonstrates how effective it can be at getting a project up and running; https://github.com/andyjduncan/gradle-example And let's not forget

Re: How to test and deploy without groovy-all?

2020-05-19 Thread Mauro Molinari
Il 18/05/20 18:47, OCsite ha scritto: To write and maintain my own launch script takes about one thousandth time and effort as compared with learning a whole new ecosystem which I do not need at all (well, perhaps now for the first time and for

Re: How to test and deploy without groovy-all?

2020-05-18 Thread Mauro Molinari
Il 18/05/20 17:48, OCsite ha scritto: (Actually I can't imagine the Maven/Gradle workflow to be considerably different: the principle of creating the application package and installing it plus all the JARs needed to the

Re: How to test and deploy without groovy-all?

2020-05-18 Thread Mauro Molinari
Il 18/05/20 16:29, OCsite ha scritto: Or am I wrong and there is some magic which would prevent this scenario? Your application will fail at compilation time if some JAR is missing. If you plan to run with Groovy 3.x binary code

Re: Is there no any more Date.parse(pattern, date_string) methods like Groovy User Guide Document says?

2020-02-27 Thread Mauro Molinari
Il 27/02/2020 08:30, 杨波 ha scritto: But when I use Groovy 2.5.9, there is no such Date.parse(pattern, date_str) method. Instead I found the LocateDate.parse(date_str, pattern) method. Is it the document outdated or I use something wrong? Ensure you have groovy-dateutil JAR in your classpath.

Re: Which issue do you MOST want to fix

2019-02-20 Thread Mauro Molinari
Hi Daniel, yes, I followed the bug report thank you! Indeed, I would have at least another GroovyCastException case when using @CompileStatic, which however is unrelated to that fix. I can easily reproduce with a project we use internally, which is however tightly bound to our internal

Re: Which issue do you MOST want to fix

2019-02-16 Thread Mauro Molinari
Hi Daniel, my 2-cents. I recently tried Groovy 2.5 for the first time (was on 2.4 before) to write a CLI program and I had a lot of problems with strange exceptions which seem more to be related to Groovy code parsing rather than with compiling or runtime. It was really a hit-and-miss, I had

Re: Groovy Eclipse Compiler not on Central/JCenter

2019-01-21 Thread Mauro Molinari
It looks like the conversation is going on at https://github.com/groovy/groovy-eclipse/issues/326 Mauro Il 21/01/2019 08:21, Tamás Cservenák ha scritto: Ping On Thu, Jan 10, 2019, 10:05 Tamás Cservenák wrote: Howdy, I just wonder why Groovy Eclipse

Re: Eclipse Groovy Compiler support for 2.5.0

2018-06-27 Thread Mauro Molinari
Il 27/06/2018 16:08, Mike Thomsen ha scritto: Does anyone know of an ETA for that? The release process says that it's announced on this list (one of two lists that get it), so I'm hoping someone knows. Thanks, Mike It's available as a snapshot build, see:

Re: Alternative JVM with Groovy (Azul,...) ?

2018-03-08 Thread Mauro Molinari
. Mauro Molinari mauro...@tiscali.it In data 8 marzo 2018 3:55:47 PM Russel Winder <rus...@winder.org.uk> ha scritto: On Thu, 2018-03-08 at 15:53 +0100, Mauro Molinari wrote: FWIW we have been using OpenJDK (installed from Ubuntu repositories) to run web applications using Groovy in prod

Re: @TupleConstructor: what am I doing wrong?

2018-01-19 Thread Mauro Molinari
Hi Paul, thank you! I opened GROOVY-8453. Mauro Il 13/01/2018 00:52, Paul King ha scritto: We originally didn't support JavaBean properties for most of the AST transformations. We added support and added an allProperties flag defaulting to true. Basically, this is an acknowledgement that we

Re: @TupleConstructor: what am I doing wrong?

2018-01-12 Thread Mauro Molinari
, Mauro Molinari <mauro...@tiscali.it <mailto:mauro...@tiscali.it>> wrote: Hello all, I'm getting crazy because I can't understand what I'm doing wrong. Consider this (it can be pasted on the Groovy console): |import groovy.transform.TupleConstructor|| || ||public

@TupleConstructor: what am I doing wrong?

2018-01-11 Thread Mauro Molinari
Hello all, I'm getting crazy because I can't understand what I'm doing wrong. Consider this (it can be pasted on the Groovy console): |import groovy.transform.TupleConstructor|| || ||public class Foobar {|| ||  private Long id;|| ||  public Long getId() { return this.id; }|| ||  public