Russel Winder | 2 Jul 2011 12:12
Picon
Gravatar

[groovy-dev] Gant, Groovy, Windows

"Gant Needs You" -- especially if you are a Gant on Windows user.

A new JIRA issue https://jira.codehaus.org/browse/GANT-126 (*) has
reignited an lingering old problem, cf.
https://jira.codehaus.org/browse/GANT-54.  I have no Windows capability
and I am not willing to make changes that I can't test, so I am not
prepared to make any Windows-specific changes.  I therefore need someone
willing and able to test and verify changes made to the Windows specific
bits of Gant, in this case the batch files.

Another aspect to this is that the Gant Windows batch files are supposed
to be completely in tune with the Groovy Windows batch files.  It may be
that this problem has been solved in Groovy but not in Gant -- I'm
afraid I would not have noticed as I don't use, or indeed have, Windows.

In any event Gant and I need some help.

Thanks.

(*) and thanks to Nagai Masato for posting a putative patch as well as
creating a JIRA issue.
--

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder <at> ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@...
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Jochen Theodorou | 2 Jul 2011 12:39
Picon
Gravatar

Re: [groovy-dev] Gant, Groovy, Windows

Am 02.07.2011 12:12, schrieb Russel Winder:
> "Gant Needs You" -- especially if you are a Gant on Windows user.
>
> A new JIRA issue https://jira.codehaus.org/browse/GANT-126
[...]
> Another aspect to this is that the Gant Windows batch files are supposed
> to be completely in tune with the Groovy Windows batch files.  It may be
> that this problem has been solved in Groovy but not in Gant -- I'm
> afraid I would not have noticed as I don't use, or indeed have, Windows.
>
> In any event Gant and I need some help.
>
> Thanks.
>
> (*) and thanks to Nagai Masato for posting a putative patch as well as
> creating a JIRA issue.

frankly I have no idea, why this patch should solve the problem. It 
introduces a new GANT_OPT, but all the usage of quotes looks the same. 
And normally the right usage of those quotes is what makes it so 
difficult and error prone.

Did I mention I hate Windows batch files?

bye blackdrag

--

-- 
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead
http://blackdragsview.blogspot.com/
(Continue reading)

nagaimasato.pub | 2 Jul 2011 13:08
Picon
Gravatar

Re: Re: [groovy-dev] Gant, Groovy, Windows

Hi, all.

The correct fix for this issue might be http://jira.codehaus.org/browse/GROOVY-4910.
I'll check it later.


On Jul 2, 2011 7:39pm, Jochen Theodorou <blackdrag-BA+cFGlbTmA@public.gmane.org> wrote:
> Am 02.07.2011 12:12, schrieb Russel Winder:
>
>
> "Gant Needs You" -- especially if you are a Gant on Windows user.
>
>
>
> A new JIRA issue https://jira.codehaus.org/browse/GANT-126
>
>
> [...]
>
>
> Another aspect to this is that the Gant Windows batch files are supposed
>
> to be completely in tune with the Groovy Windows batch files.  It may be
>
> that this problem has been solved in Groovy but not in Gant -- I'm
>
> afraid I would not have noticed as I don't use, or indeed have, Windows.
>
>
>
> In any event Gant and I need some help.
>
>
>
> Thanks.
>
>
>
> (*) and thanks to Nagai Masato for posting a putative patch as well as
>
> creating a JIRA issue.
>
>
>
>
> frankly I have no idea, why this patch should solve the problem. It introduces a new GANT_OPT, but all the usage of quotes looks the same. And normally the right usage of those quotes is what makes it so difficult and error prone.
>
>
>
> Did I mention I hate Windows batch files?
>
>
>
> bye blackdrag
>
>
>
> --
>
> Jochen "blackdrag" Theodorou
>
> The Groovy Project Tech Lead
>
> http://blackdragsview.blogspot.com/
>
> For Groovy programming sources visit http://groovy.codehaus.org
>
>
>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe from this list, please visit:
>
>
>
>   http://xircles.codehaus.org/manage_email
>
>
>
>
>
>

Guillaume Laforge | 4 Jul 2011 20:53
Gravatar

Re: [groovy-dev] ANTLR Rewrite Status???

Lidia, any update?

On Fri, Jun 24, 2011 at 14:52, Guillaume Laforge <glaforge-yCVjj/EcxBJg9hUCZPvPmw@public.gmane.org> wrote:
Hi there,

Thanks for the reminder!
I wanted to try to keep everyone into the loop, and try to have all those interested participate in the effort, so your email comes at the right time.

Lidia (in CC) started working on the rewrite.

She's publishing her (almost) weekly status updates on her dedicated blog:

And has created a branch in the subversion repository here:

Jochen is mentoring her.

Lidia's already rewrote the lexer part, but the harder part is the parser itself.
I think at least the lexer part is committed already, but I haven't checked -- I'll let Lidia and Jochen give more details on that.

We asked Lidia already to participate more actively in the community, and I hope she'll update us all here on the dev list about her ongoing effort and commit her work as regularly as possible, so that others can participate in the project.

Lidia, please be sure to update us here on what's going on, so others can also help.

Thanks for your attention,

Guillaume


On Fri, Jun 24, 2011 at 14:33, Payne <bujacik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,


it is more than one month from the start of GSoC 2011. Some time ago more
people were trying to participate in the ANTLR rewrite in some way and it
was said, that it will be "public initiative". I am reading Groovy mailing
lists in regular basis, but I didn't find any messages about it, so I want
to ask what is the status of the project.

Is it "public" so more people can participate, or are there problems, or is
the project dead as part of GSoC?

//Martin

--
View this message in context: http://groovy.329449.n5.nabble.com/ANTLR-Rewrite-Status-tp4520852p4520852.html
Sent from the groovy - dev mailing list archive at Nabble.com.

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

   http://xircles.codehaus.org/manage_email





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



--
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one
Lidia Donaj | 5 Jul 2011 00:34
Picon

Re: [groovy-dev] ANTLR Rewrite Status???

Project update: 4th-5th Week

1) What I achieved last week?

Yipppeeee I passed all of my exams with very good results. As it was my final semester I'll be able to receive my second master degree in September. I will now devote my full attention to rewriting parser rules the Groovy grammar to ANTRL 3. It all goes according with plan. I regularly do commits and don't expect any problems to meet the deadline.

2) What I am working on for the next week?

Gradually, rewriting parser rules.

3) Are there any blockers (infrastructure, mentors, holidays, assistance)?

Still no blockers.

Updates are also published on my blog: http://timszel.blogspot.com/


Cheers, Lidia

On 4 July 2011 19:53, Guillaume Laforge <glaforge-yCVjj/EcxBJg9hUCZPvPmw@public.gmane.org> wrote:
Lidia, any update?


On Fri, Jun 24, 2011 at 14:52, Guillaume Laforge <glaforge <at> codehaus.org> wrote:
Hi there,

Thanks for the reminder!
I wanted to try to keep everyone into the loop, and try to have all those interested participate in the effort, so your email comes at the right time.

Lidia (in CC) started working on the rewrite.

She's publishing her (almost) weekly status updates on her dedicated blog:

And has created a branch in the subversion repository here:

Jochen is mentoring her.

Lidia's already rewrote the lexer part, but the harder part is the parser itself.
I think at least the lexer part is committed already, but I haven't checked -- I'll let Lidia and Jochen give more details on that.

We asked Lidia already to participate more actively in the community, and I hope she'll update us all here on the dev list about her ongoing effort and commit her work as regularly as possible, so that others can participate in the project.

Lidia, please be sure to update us here on what's going on, so others can also help.

Thanks for your attention,

Guillaume


On Fri, Jun 24, 2011 at 14:33, Payne <bujacik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,


it is more than one month from the start of GSoC 2011. Some time ago more
people were trying to participate in the ANTLR rewrite in some way and it
was said, that it will be "public initiative". I am reading Groovy mailing
lists in regular basis, but I didn't find any messages about it, so I want
to ask what is the status of the project.

Is it "public" so more people can participate, or are there problems, or is
the project dead as part of GSoC?

//Martin

--
View this message in context: http://groovy.329449.n5.nabble.com/ANTLR-Rewrite-Status-tp4520852p4520852.html
Sent from the groovy - dev mailing list archive at Nabble.com.

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

   http://xircles.codehaus.org/manage_email





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



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

Russel Winder | 5 Jul 2011 07:06
Picon
Gravatar

[groovy-dev] Groovy, ANTLR, and Gradle

I think moving Groovy from ANTRLv2 to ANTLRv3 is a good thing -- even
though ANTLRv4 is apparently just around the corner.  But there is an
issue . . . 

I have just had to convert a project from ANTLRv3 to ANTLRv2 because
there is no Gradle plugin for ANTLRv3 whereas there is one for ANTLRv2,
and I don't have the time just now to investigate writing one myself.  I
could however contribute to an effort to create such a thing -- which I
suggest would be a great boon to both Groovy and Gradle.

Are there people out there who could club together so as to create
enough resource to move such an enterprise forward?  Is there someone
with enough knowledge of Gradle and the ANTLRv2 plugin who could get
such and enterprise kick started?

Given current trends, I am assuming a Git/GitHub repository would be the
best focus for such an enterprise.

Thanks. 
--

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder <at> ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@...
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Russel Winder | 6 Jul 2011 08:05
Picon
Gravatar

[groovy-dev] Emacs Groovy Mode

The out of date, indeed deprecated, page
http://groovy.codehaus.org/Emacs+Plugin is continuing the cause people
hassle as it is the page people get to from Google searches -- the real
page is much younger and so gets a lower score in Google's algorithm.
So unless there is an objection I intend to rename it.

--

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder <at> ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@...
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Guillaume Laforge | 6 Jul 2011 08:10
Gravatar

Re: [groovy-dev] Emacs Groovy Mode

Don't rename it, but remove most of its content, and put a big link going to the right page.

On Wed, Jul 6, 2011 at 08:05, Russel Winder <russel-Q5fiE77zhxfe9xe1eoZjHA@public.gmane.org> wrote:
The out of date, indeed deprecated, page
http://groovy.codehaus.org/Emacs+Plugin is continuing the cause people
hassle as it is the page people get to from Google searches -- the real
page is much younger and so gets a lower score in Google's algorithm.
So unless there is an objection I intend to rename it.

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder-gabAEHCsIuteoWH0uzbU5w@public.gmane.org
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel-Q5fiE77zhxfe9xe1eoZjHA@public.gmane.org
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



--
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one
Russel Winder | 6 Jul 2011 11:21
Picon
Gravatar

Re: [groovy-dev] Emacs Groovy Mode

Guillaume,

On Wed, 2011-07-06 at 08:10 +0200, Guillaume Laforge wrote:
> Don't rename it, but remove most of its content, and put a big link
> going to the right page.

I have strengthened the preamble, and otherwise left it as is.

I have changed the name, and indeed content, of the main page to try and
make it more appealing to search engines as the result for a "Groovy
Emacs" or "Emacs Groovy" search.  Sorry to anyone with links to
http://groovy.codehaus.org/Emacs+Mode which is now
http://groovy.codehaus.org/Emacs+Groovy+Mode, I felt the pain of having
the page missing from search for a day or two worth it to combat the
pain of people continually seeing the old page at the top of the Google
output.

> On Wed, Jul 6, 2011 at 08:05, Russel Winder <russel@...>
> wrote:
>         The out of date, indeed deprecated, page
>         http://groovy.codehaus.org/Emacs+Plugin is continuing the
>         cause people
>         hassle as it is the page people get to from Google searches --
>         the real
>         page is much younger and so gets a lower score in Google's
>         algorithm.
>         So unless there is an objection I intend to rename it.

--

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder <at> ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@...
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
M A | 7 Jul 2011 19:10
Picon
Gravatar

[groovy-dev] Problem accessing int default value from within a closure

Hey all,

In Groovy 1.8.0, this works fine:

groovy:000> int x; println x
0
===> null

Whereas this blows up:

groovy:000> int x; 1.times { println x }
ERROR org.codehaus.groovy.runtime.typehandling.GroovyCastException:
Cannot cast object 'null' with class 'null' to class 'int'. Try
'java.lang.Integer' instead
        at groovysh_evaluate.run (groovysh_evaluate:2)
        ...

Is that a known issue?

Cheers,
Merlyn

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

    http://xircles.codehaus.org/manage_email


Gmane