An issue about comparing arrays

2016-10-28 Thread 孙 岚
Hi all, I found "new int[2]" is equal to "new int[2][]". It is a bug or feature? Cheers, Daniel.Sun

Summary for project groovy-parser

2016-10-28 Thread 孙 岚
Hi all, I'm very glad to summarize the groovy-parser project. Currently almost all features of Groovy are available. In addition, the following new features have been added: 1) do-while loop; 2) identical operation(===, !==); 3) lambda expression; 4) method reference and constructor refe

Re: "Parsing JSON is a mine field" <-- to read to improve Groovy's support

2016-10-28 Thread John Wagenleitner
On Thu, Oct 27, 2016 at 1:25 AM, Guillaume Laforge wrote: > Hi there, > > I just saw this article yesterday: "Parsing JSON is a mine filed" > http://seriot.ch/parsing_json.html > > I haven't read it (yet) in details, but we might be able to improve > Groovy's JSON parsing support by going through

Re: replacing jarjar by gradle shadow plugin

2016-10-28 Thread Guillaume Laforge
On Fri, Oct 28, 2016 at 1:37 PM, Russel Winder wrote: > [...] > > So how about replacing jarjar with that? > > There must be some appropriate Jar Jar Binks reference applicable at > this time. Or at least the "shadow" of Jar Jar Binks. -- Guillaume Laforge Apache Groovy committer & PMC Vice

Re: replacing jarjar by gradle shadow plugin

2016-10-28 Thread Russel Winder
On Fri, 2016-10-28 at 09:15 +0200, Cédric Champeau wrote: > Of course everybody should use utf-8 :) Is there any other encoding? Oh, Windows. They could not even use the standard UTF-16 they had to force definition of a new standard. BOM, BOM, BOM, BOM. -- Russel.

Re: replacing jarjar by gradle shadow plugin

2016-10-28 Thread Russel Winder
On Thu, 2016-10-27 at 19:05 +0200, Jochen Theodorou wrote: > Hi all, > > we use jarjar in our build through an ant task and since I am the > only  > one currently doing in jarjar once in a couple of years I was > wondering  > if there is no replacement. And I found the gradle shadow plugin, > whic

Re: replacing jarjar by gradle shadow plugin

2016-10-28 Thread jim northrop
Merci Cedric- Was fighting this problem only yesterday, so your tip will save me beaucoup work. - Jim On 28 October 2016 at 09:03, Cédric Champeau wrote: > Yes, the shadow plugin is also one of the most used Gradle plugins out > there. It's rock solid :) > > 2016-10-28 0:12 GMT+02:00 Guillaume L

Re: replacing jarjar by gradle shadow plugin

2016-10-28 Thread Remi Forax
Some OS stubbornly refuses to be UTF8 by default :) Rémi > De: "Cédric Champeau" > À: dev@groovy.apache.org > Envoyé: Vendredi 28 Octobre 2016 09:15:20 > Objet: Re: replacing jarjar by gradle shadow plugin > Of course everybody should use utf-8 :) > 2016-10-28 9:14 GMT+02:00 Remi Forax < fo.

Re: replacing jarjar by gradle shadow plugin

2016-10-28 Thread Cédric Champeau
Of course everybody should use utf-8 :) 2016-10-28 9:14 GMT+02:00 Remi Forax : > It doesn't work well on Windows if you do not change the default java > encoding to be UTF8, > says the guy that witness a whole team of students to frantically tries > everything possible the day before a very impor

Re: replacing jarjar by gradle shadow plugin

2016-10-28 Thread Cédric Champeau
Yes, the shadow plugin is also one of the most used Gradle plugins out there. It's rock solid :) 2016-10-28 0:12 GMT+02:00 Guillaume Laforge : > Right, that's what it says on the tin: > https://github.com/johnrengelman/shadow > > On Fri, Oct 28, 2016 at 12:01 AM, Jochen Theodorou > wrote: > >> O

Re: replacing jarjar by gradle shadow plugin

2016-10-28 Thread Remi Forax
It doesn't work well on Windows if you do not change the default java encoding to be UTF8, says the guy that witness a whole team of students to frantically tries everything possible the day before a very important release. Rémi > De: "Cédric Champeau" > À: dev@groovy.apache.org > Envoyé: V