Jane C | 1 Jun 2012 06:52
Favicon

[groovy-user] Re:[groovy-user] [ANN] Release candidate of Groovy 2.0 available

Hi, very happy to hear about the new RC Release of Groovy 2.0. Any information about the date when will release stable version of Groovy 2.0?

--

Regards!

Jane Cang


At 2012-05-31 21:20:23,"Guillaume Laforge" <glaforge-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi all,

This is with great pleasure that the development team announces the release candidate of Groovy 2.0.

For the impatient among you, you can download Groovy 2.0 RC-1 in the download area of the Groovy website. An d read the JIRA changelog.

The big change in this release candidate is the modularity aspect. We've now fully switched to Gradle, as our build tool, to build a more modular Groovy. You still have a big "all" JAR, but if you're interested in just picking the core JAR and the needed modules for your project, you can now do so.

The following modules, also available as Maven artifacts, have been created and extracted: ant, bsf, console, docgenerator, groovydoc, groovysh, jms, json, jsr-223, servlet, sql, swing, templates, test, testng, xml.

Also, it's possible for you to create your own extension modules, which will provide additional methods to JDK or third-party classes, just like Groovy does with the Groovy Development Kit.

For more information on this extension module system, please have a look at this page explaining the details.

We're looking forward to your feedback on this release!

This is very important that you test this release within your projects to report anything, any bug or issue that you may encounter, so that we can make a great 2.0 release.

We're particularly interested in feedback on the invoke dynamic support, the static type checking, the static compilation, as well as the new modularity of Groovy.

Thanks a lot for your attention and precious time helping us releasing a great new milestone of the project!

And big thanks to all those who contributed to this release!

On behalf of the Groovy development team, we hope you'll all keep on groovy'ing :-)

--
Guillaume Laforge
Groovy Project Manager
SpringSource, a division of VMware




Luciano Fiandesio | 1 Jun 2012 07:34
Gravatar

Re: [groovy-user] Re:[groovy-user] [ANN] Release candidate of Groovy 2.0 available

Hello and congratulations for the release.
What will be the JDK requirement for the Groovy 2.0 final?

Thanks
Luciano

-- 
Luciano Fiandesio
On Friday, June 1, 2012 at 7:52 AM, Jane C wrote:
Hi, very happy to hear about the new RC Release of Groovy 2.0. Any information about the date when will release stable version of Groovy 2.0?

--

Regards!

Jane Cang


At 2012-05-31 21:20:23,"Guillaume Laforge" <glaforge <at> gmail.com> wrote:
Hi all,

This is with great pleasure that the development team announces the release candidate of Groovy 2.0.

For the impatient among you, you can download Groovy 2.0 RC-1 in the download area of the Groovy website. And read the JIRA changelog.

The big change in this release candidate is the modularity aspect. We've now fully switched to Gradle, as our build tool, to build a more modular Groovy. You still have a big "all" JAR, but if you're interested in just picking the core JAR and the needed modules for your project, you can now do so.

The following modules, also available as Maven artifacts, have been created and extracted: ant, bsf, console, docgenerator, groovydoc, groovysh, jms, json, jsr-223, servlet, sql, swing, templates, test, testng, xml.

Also, it's possible for you to create your own extension modules, which will provide additional methods to JDK or third-party classes, just like Groovy does with the Groovy Development Kit.

For more information on this extension module system, please have a look at this page explaining the details.

We're looking forward to your feedback on this release!

This is very important that you test this release within your projects to report anything, any bug or issue that you may encounter, so that we can make a great 2.0 release.

We're particularly interested in feedback on the invoke dynamic support, the static type checking, the static compilation, as well as the new modularity of Groovy.

Thanks a lot for your attention and precious time helping us releasing a great new milestone of the project!

And big thanks to all those who contributed to this release!

On behalf of the Groovy development team, we hope you'll all keep on groovy'ing :-)

--
Guillaume Laforge
Groovy Project Manager
SpringSource, a division of VMware





Guillaume Laforge | 1 Jun 2012 08:05
Gravatar

Re: [groovy-user] Re:[groovy-user] [ANN] Release candidate of Groovy 2.0 available

We've noticed a couple issues with this RC, so we'll probably need another RC rapidly.

We usually wait a week or two between an RC and the final version, so it might still be at least two weeks away.
In any case, it should be there before the end of June anyway.
So not a too too long wait now, at last :-)

On Fri, Jun 1, 2012 at 6:52 AM, Jane C <mew2000-KN7UnAbNpbg@public.gmane.org> wrote:
Hi, very happy to hear about the new RC Release of Groovy 2.0. Any information about the date when will release stable version of Groovy 2.0?

--

Regards!

Jane Cang


At 2012-05-31 21:20:23,"Guillaume Laforge" <glaforge-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi all,

This is with great pleasure that the development team announces the release candidate of Groovy 2.0.

For the impatient among you, you can download Groovy 2.0 RC-1 in the download area of the Groovy website. And read the JIRA changelog.

The big change in this release candidate is the modularity aspect. We've now fully switched to Gradle, as our build tool, to build a more modular Groovy. You still have a big "all" JAR, but if you're interested in just picking the core JAR and the needed modules for your project, you can now do so.

The following modules, also available as Maven artifacts, have been created and extracted: ant, bsf, console, docgenerator, groovydoc, groovysh, jms, json, jsr-223, servlet, sql, swing, templates, test, testng, xml.

Also, it's possible for you to create your own extension modules, which will provide additional methods to JDK or third-party classes, just like Groovy does with the Groovy Development Kit.

For more information on this extension module system, please have a look at this page explaining the details.

We're looking forward to your feedback on this release!

This is very important that you test this release within your projects to report anything, any bug or issue that you may encounter, so that we can make a great 2.0 release.

We're particularly interested in feedback on the invoke dynamic support, the static type checking, the static compilation, as well as the new modularity of Groovy.

Thanks a lot for your attention and precious time helping us releasing a great new milestone of the project!

And big thanks to all those who contributed to this release!

On behalf of the Groovy development team, we hope you'll all keep on groovy'ing :-)

--
Guillaume Laforge
Groovy Project Manager
SpringSource, a division of VMware







--
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one
Guillaume Laforge | 1 Jun 2012 08:06
Gravatar

Re: [groovy-user] Re:[groovy-user] [ANN] Release candidate of Groovy 2.0 available

Hi Luciano,


Groovy 2.0, like Groovy 1.8, requires JDK 5.
But if you want to use the "invoke dynamic" support, you'll have to use JDK 7.

Guillaume

On Fri, Jun 1, 2012 at 7:34 AM, Luciano Fiandesio <info <at> lucianofiandesio.com> wrote:
Hello and congratulations for the release.
What will be the JDK requirement for the Groovy 2.0 final?

Thanks
Luciano

-- 
Luciano Fiandesio
On Friday, June 1, 2012 at 7:52 AM, Jane C wrote:
Hi, very happy to hear about the new RC Release of Groovy 2.0. Any information about the date when will release stable version of Groovy 2.0?

--

Regards!

Jane Cang


At 2012-05-31 21:20:23,"Guillaume Laforge" <glaforge-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi all,

This is with great pleasure that the development team announces the release candidate of Groovy 2.0.

For the impatient among you, you can download Groovy 2.0 RC-1 in the download area of the Groovy website. And read the JIRA changelog.

The big change in this release candidate is the modularity aspect. We've now fully switched to Gradle, as our build tool, to build a more modular Groovy. You still have a big "all" JAR, but if you're interested in just picking the core JAR and the needed modules for your project, you can now do so.

The following modules, also available as Maven artifacts, have been created and extracted: ant, bsf, console, docgenerator, groovydoc, groovysh, jms, json, jsr-223, servlet, sql, swing, templates, test, testng, xml.

Also, it's possible for you to create your own extension modules, which will provide additional methods to JDK or third-party classes, just like Groovy does with the Groovy Development Kit.

For more information on this extension module system, please have a look at this page explaining the details.

We're looking forward to your feedback on this release!

This is very important that you test this release within your projects to report anything, any bug or issue that you may encounter, so that we can make a great 2.0 release.

We're particularly interested in feedback on the invoke dynamic support, the static type checking, the static compilation, as well as the new modularity of Groovy.

Thanks a lot for your attention and precious time helping us releasing a great new milestone of the project!

And big thanks to all those who contributed to this release!

On behalf of the Groovy development team, we hope you'll all keep on groovy'ing :-)

--
Guillaume Laforge
Groovy Project Manager
SpringSource, a division of VMware








--
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one
Jane C | 1 Jun 2012 08:28
Favicon

[groovy-user] Re:Re: [groovy-user] Re:[groovy-user] [ANN] Release candidate of Groovy 2.0 available

Thanks for Groovy Team, waiting for 2.0 stable, for new project, new production.

At 2012-06-01 14:05:31,"Guillaume Laforge" <glaforge-yCVjj/EcxBJg9hUCZPvPmw@public.gmane.org> wrote:

We've noticed a couple issues with this RC, so we'll probably need another RC rapidly.
We usually wait a week or two between an RC and the final version, so it might still be at least two weeks away.
In any case, it should be there before the end of June anyway.
So not a too too long wait now, at last :-)

On Fri, Jun 1, 2012 at 6:52 AM, Jane C <mew2000-KN7UnAbNpbg@public.gmane.org> wrote:
Hi, very happy to hear about the new RC Release of Groovy 2.0. Any information about the date when will release stable version of Groovy 2.0?

--

Regards!

Jane Cang


At 2012-05-31 21:20:23,"Guillaume Laforge" <glaforge-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi all,

This is with great pleasure that the development team announces the release candidate of Groovy 2.0.

For the impatient among you, you can download Groovy 2.0 RC-1 in the download area of the Groovy website. And read th e JIRA changelog.

The big change in this release candidate is the modularity aspect. We've now fully switched to Gradle, as our build tool, to build a more modular Groovy. You still have a big "all" JAR, but if you're interested in just picking the core JAR and the needed modules for your project, you can now do so.

The following modules, also available as Maven artifacts, have been created and extracted: ant, bsf, console, docgenerator, groovydoc, groovysh, jms, json, jsr-223, servlet, sql, swing, templates, test, testng, xml.

Also, it's possible for you to create your own extension modules, which will provide additional methods to JDK or third-party classes, just like Groovy does with the Groovy Development Kit.

For more information on this extension module system, please have a look at this page explaining the details.

We're looking forward to your feedback on this release!

This is very important that you test this release within your projects to report anything, any bug or issue that you may encounter, so that we can make a great 2.0 release.

We're particularly interested in feedback on the invoke dynamic support, the static type checking, the static compilation, as well as the new modularity of Groovy.

Thanks a lot for your attention and precious time helping us releasing a great new milestone of the project!

And big thanks to all those who contributed to this release!

On behalf of the Groovy development team, we hope you'll all keep on groovy'ing :-)

--
Guillaume Laforge
Groovy Project Manager
SpringSource, a division of VMware







--
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one


bebrooks | 1 Jun 2012 15:09

Re: [groovy-user] groovysh 2.0.0-beta-3 ERROR java.lang.ClassCastException: required class java.lang.Class but encountered class org.fusesource.jansi.AnsiRenderer


>> I'm trying out the invoke dynamic (indy) version of groovy. When running
>> groovysh 2.0.0-beta-3 with Java 1.7u4, the following error is
>> continuously printing to the console
>>
>> C:\>groovysh
>> Groovy Shell (2.0.0-beta-3, JVM: 1.7.0_04)
>> Type 'help' or '\h' for help.
>> -------------------------------------------------------------------------------
>>
>> ERROR java.lang.ClassCastException: required class java.lang.Class but
>> encountered class org.fusesource.jansi.AnsiRenderer

> without indy you don't get the error?

Correct, the error only occurs if I replace the lib/groovy-2.0.0-* with the one from the indy folder i.e.

$ cp indy/groovy-2.0.0-beta-3-indy.jar lib/groovy-2.0.0-beta-3.jar

(adjusted for Windows XP of course).

When testing, make sure you don't have a renamed version of the original JAR still in the lib folder, otherwise the problem is masked.  When retesting this issue, I made that mistake.

---
Brian Brooks
Senior Software Engineer
Rockwell Collins Satellite Communications Systems
2205 Northmont Parkway
Duluth, GA 30096
bebrooks-lFk7bPDcGtkY5TsXZYaR1UEOCMrvLtNR@public.gmane.org
office: (678) 252-4498


Jochen Theodorou <blackdrag-BA+cFGlbTmA@public.gmane.org>

05/29/2012 09:27 AM

Please respond to
user-i9PBDF1N6cxnkHa44VUL00B+6BGkLq7r@public.gmane.org

To
user-i9PBDF1N6cxnkHa44VUL08Xa4x6EXUF0@public.gmane.orgg
cc
Subject
Re: [groovy-user] groovysh 2.0.0-beta-3 ERROR java.lang.ClassCastException: required class java.lang.Class but encountered class org.fusesource.jansi.AnsiRenderer





Am 24.05.2012 19:51, schrieb bebrooks <at> rockwellcollins.com:
>
> I'm trying out the invoke dynamic (indy) version of groovy. When running
> groovysh 2.0.0-beta-3 with Java 1.7u4, the following error is
> continuously printing to the console
>
> C:\>groovysh
> Groovy Shell (2.0.0-beta-3, JVM: 1.7.0_04)
> Type 'help' or '\h' for help.
> -------------------------------------------------------------------------------
>
> ERROR java.lang.ClassCastException: required class java.lang.Class but
> encountered class org.fusesource.jansi.AnsiRenderer
>
> I'm running this on Windows XP SP3.

The problem is to have somebody with windows confirming the problem...

> I followed Cédric Champeau's instructions to copy the indy jar to the
> lib and rename it
> (_http://groovy.329449.n5.nabble.com/ANN-Groovy-2-0-0-beta-3-td5691151.html_).
> groovyConsole starts without these errors.
>
> Should I report this issue as a defect?

without indy you don't get the error?

bye blackdrag

--
Jochen "blackdrag" Theodorou - Groovy Project Tech Lead
blog: http://blackdragsview.blogspot.com/
german groovy discussion newsgroup: de.comp.lang.misc
For Groovy programming sources visit http://groovy-lang.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



phil swenson | 1 Jun 2012 18:11
Picon

[groovy-user] is there a better way to write this?

def exportPackageList
["default", "conf", "map", "security", "ssl"].each{
   exportPackageList += "=ccs.${it};version=${build.version},"
}

seems like a very common pattern, and my instincts tell me there is a
little better way to do it.

comments?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Levi Hoogenberg | 1 Jun 2012 18:16
Picon

Re: [groovy-user] is there a better way to write this?

You could use inject... or maybe join (probably not in this case).

Op 1 jun. 2012 18:12 schreef "phil swenson" <phil.swenson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> het volgende:
def exportPackageList
["default", "conf", "map", "security", "ssl"].each{
  exportPackageList += "=ccs.${it};version=${build.version},"
}

seems like a very common pattern, and my instincts tell me there is a
little better way to do it.

comments?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Dinko Srkoc | 1 Jun 2012 18:26
Picon
Gravatar

Re: [groovy-user] is there a better way to write this?

["default", "conf", "map", "security", "ssl"].collect {
    "=ccs.${it};version=${build.version}"
}.join(',')

Cheers,
Dinko

On 1 June 2012 18:16, Levi Hoogenberg <levihoogenberg@...> wrote:
> You could use inject... or maybe join (probably not in this case).
>
> Op 1 jun. 2012 18:12 schreef "phil swenson"
<phil.swenson@...> het
> volgende:
>
>> def exportPackageList
>> ["default", "conf", "map", "security", "ssl"].each{
>>   exportPackageList += "=ccs.${it};version=${build.version},"
>> }
>>
>> seems like a very common pattern, and my instincts tell me there is a
>> little better way to do it.
>>
>> comments?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Jochen Theodorou | 1 Jun 2012 23:17
Picon
Gravatar

Re: [groovy-user] groovysh 2.0.0-beta-3 ERROR java.lang.ClassCastException: required class java.lang.Class but encountered class org.fusesource.jansi.AnsiRenderer

Am 01.06.2012 15:09, schrieb bebrooks@...:
[...]
>  > without indy you don't get the error?
>
> Correct, the error only occurs if I replace the lib/groovy-2.0.0-* with
> the one from the indy folder i.e.

is somebody else capable of reproducing this problem?

bye blackdrag

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Gmane