Re: [ANN] Announcing CodeNarc 1.3

2019-01-30 Thread Mario Garcia
Great! Keep up with the good work! I think Codenarc is one of the most useful projects in the Groovy ecosystem. El mar., 29 ene. 2019 a las 19:00, Daniel.Sun () escribió: > Nice work! > > > > > > - > Apache Groovy committer > Blog: http://blog.sunlan.me > Twitter: @daniel_sun > > -- > Sent

Re: What is the best replacement for running scripts using groovy-all?

2018-12-20 Thread Mario Garcia
BTW about @Grab, bear in mind that you can tell @Grab where to put/take its dependencies from: groovy -Dgrape.root=./lib my_script.groovy So every project can have its dependencies in the project's structure. Regards Mario El jue., 20 dic. 2018 a las 10:44, Paul Moore () escribió: > I can

Re: [DISCUSS] Groovy 2.6 potential retirement to focus on Groovy 3.0

2018-06-13 Thread Mario Garcia
I would say 3 as well 2018-06-13 10:04 GMT+02:00 Robert Oschwald : > Same with me. Option 3 seems best, even when some of our projects are > still on Grails 2. > > > Am 13.06.2018 um 09:50 schrieb Søren Berg Glasius : > > While the project I'm on is still on JDK 7, but due to Grails 2.x I think

Re: AST to replace `==` with `equals` method invocation

2018-06-13 Thread Mario Garcia
Hi Paolo: A couple of years ago I created Asteroid ( https://github.com/grooviter/asteroid) a library to deal with AST transformations. I needed to create a minor release so I've taken the oportunity to solve this problem and I think is pretty easy. - Create a Transformer. A transformer is

Re: [ANNOUNCE] BeakerX: Groovy support for Jupyter Notebooks

2018-04-18 Thread Mario Garcia
Looks awesome thanks :) El mié., 18 abr. 2018 18:50, Daniel.Sun escribió: > Nice > > > > > -- > Sent from: http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html >

Re: Groovy Champions proposal feedback

2018-02-25 Thread Mario Garcia
+1 to what Guillaume said :) Common guys! Lets focus on what we think is a great language and let others think what they want! Regarding the duration of the award. I've though about it, trying not to think in terms of annually or permanent, but trying to see what's out there outside the CS world,

Re: @Groovy Champions: Groovy Development Funding ?

2018-02-22 Thread Mario Garcia
y > have a larger number of people giving smaller amounts to fund a > development goal together... > > Cheers, > mg > > > > On 21.02.2018 15:50, Mario Garcia wrote: > > I thought this could be worth sharing. > > The company I work for developed some time ago, Tribe (

Re: @Groovy Champions: Groovy Development Funding ?

2018-02-21 Thread Mario Garcia
//www.patreon.com > > What is Patreon? - video > https://www.youtube.com/watch?time_continue=1=rwvUjAv6pxg > > Cheers, > Eric Kinsella > > > On Fri, Feb 16, 2018 at 12:37 PM, MG <mg...@arscreat.com> wrote: > >> That should be no problem, I would be happy to d

Re: @Groovy Champions: Groovy Development Funding ?

2018-02-16 Thread Mario Garcia
+1 but also keep in mind that sometimes could be also something as simple as a "grateful box pack" with a T-shirt, sticker or a mug. I would love that too. Mario El 16 feb. 2018 11:49 a. m., "Jochen Theodorou" escribió: > > > Am 16.02.2018 um 03:27 schrieb Paul King: > >>

Re: Groovy Champions proposal feedback

2018-02-14 Thread Mario Garcia
Of course +1000 to the idea :) 2018-02-14 4:39 GMT+01:00 Andres Almiray : > Groovy Star has a nice ring to it, specially if the logo of the program > links to the Groovy logo :-) > > --- > Java Champion; Groovy Enthusiast > JCP EC

Re: Upcoming releases

2018-02-06 Thread Mario Garcia
That's good News :) 2018-02-06 8:19 GMT+01:00 Paul King : > > I am planning to prepare a 2.5.0-beta-3 release towards the end of this > week and 2.4.14 not long after. Now's a good time to let us know if there > is something critical you need for those releases. > > I am

Re: Java 8 Date/Time API Extension Methods

2017-06-08 Thread Mario Garcia
+1 I think Many Groovy applications could benefit from having this in Groovy. 2017-06-09 1:02 GMT+02:00 Paul King : > +1 from me, but I'd be keen to hear Joe's thoughts? > > Cheers, Paul. > > > On Thu, Jun 8, 2017 at 10:37 PM, Dinko Srkoč > wrote: >

Re: Emacs Groovy Mode

2017-05-29 Thread Mario Garcia
Thanks for the update :) Regards Mario 2017-05-11 2:36 GMT+02:00 Paco Zarate : > Thanks Russel and Wilfred! > > On Mon, May 8, 2017 at 1:45 AM, Russel Winder > wrote: > >> Anyone using the Emacs Groovy Mode from https://github.com/Groovy-Emacs

Re: [ANNOUNCE] MirComp 1.0.0-alpha.1 Released

2017-04-24 Thread Mario Garcia
It looks amazing. I may get back to music as well ;) Great work :) 2017-04-23 14:24 GMT+02:00 Guillaume Laforge : > Congrats on the release! > I need to get back into music :-) > > On Sat, Apr 22, 2017 at 5:21 PM, Mirco wrote: > >> Hi Apache Groovy

Re: compile vs compileOnly in Gradle projects for Groovy LIbraries

2017-04-24 Thread Mario Garcia
I agree with Thibault, *compileOnly* and *provided* have specific objectives. Besides you can always tell Gradle to force a specific version of a given module https://docs.gradle.org/current/userguide/dependency_management.html#sec:finetuning_the_dependency_resolution_process 2017-04-22 2:48

Re: Database Drivers

2017-04-07 Thread Mario Garcia
Hi: How is the driver added to the classpath ? Through @Grab ? Cheers Mario 2017-04-05 20:28 GMT+02:00 Imholz, John J. : > This message was sent securely by MUSC > > In Groovy Console “Class” seems to find the Driver, but “Sql” does not? > What am I

Re: Custom implicit type conversion on assignment

2017-03-31 Thread Mario Garcia
Yes, the only "native" mechanism I know to do coertion in Groovy (without applying metaprogramming) is to overwrite the asType method and apply it explicitly. For me creating an AST transform it's a very cool idea. Maybe, we could come up with a library having a configuration file with predefined

Re: Trying to understand why groovydoc task needs groovy-all in Gradle 2.13 / 2.14

2016-06-29 Thread Mario Garcia
com>: > On 29/06/2016 11:50, Mario Garcia wrote: > > I'm trying to execute a project using gradle 2.13 / 2.14 and it fails when > executing groovydoc saying: > > groovydoc doesn't support the "noTimestamp" attribute > > Checking gradle documentation it's saying you shoul

Trying to understand why groovydoc task needs groovy-all in Gradle 2.13 / 2.14

2016-06-29 Thread Mario Garcia
I'm trying to execute a project using gradle 2.13 / 2.14 and it fails when executing groovydoc saying: groovydoc doesn't support the "noTimestamp" attribute Checking gradle documentation it's saying you should be using groovy-all, but sometimes I may not want to use the whole groovy-all jar.

Re: groovy-lang.org down for now

2016-05-22 Thread Mario Garcia
It seems to be responding now, yeah!! :) 2016-05-22 19:12 GMT+02:00 Andrew Bayer : > We're waiting on the ASF's upstream DNS providers to get everything > updated. > > > On Sunday, May 22, 2016, Suderman Keith wrote: > >> >> On May 22, 2016, at 5:58 PM,

Re: groovy-lang.org down for now

2016-05-22 Thread Mario Garcia
148.251.23.208 www.groovy-lang.org is working for me, thanks Jochen. I would post the temporary mapping in users list in case anybody else needs to access documentation/etc specially if the problem persists tomorrow (I really hope not!!) Mario 2016-05-22 18:41 GMT+02:00 Jochen Theodorou

Re: groovy-lang.org down for now

2016-05-22 Thread Mario Garcia
Any update on this ? It's been two days now :( Mario 2016-05-20 22:21 GMT+02:00 Guillaume Laforge : > Hi all, > > FYI, the Groovy website is currently down. > > We're migrating the domain-name to the Apache foundation, but it looks > like there are some issues with the

Re: Spring Groovy application context and creating @Immutable class beans

2016-04-25 Thread Mario Garcia
Although I think It should be better to discuss this in the Grails mailing list (they sure have much more experience in Spring+Groovy) I have done a little test in a Grails app with an immutable (@Immutable) bean: package a.b.c @Immutable class Pagination { Integer max }

Re: Adding a Trait to a ClassNode during semantic analysis

2016-04-21 Thread Mario Garcia
I'm afraid the latest CompilePhase where you can use that approach is CONVERSION. That means that in order to achieve what you wanted, you should be using a global transformation. Then you can make the ClassNode to implement the given trait . Hope this helps :) Mario 2016-04-20 22:08 GMT+02:00