Java class parsing bug in Groovy Eclipse plugin?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Java class parsing bug in Groovy Eclipse plugin?

graemer
Hi,

I've been playing with the latests and greatest Groovy plugin, and its
good, however, the one problem I have is that it seems to have a bug
where it also parsed .java files as .groovy files. What this means is
I have a lot of compilation errors appearing in the error view and on
the java editor that don't actually exist because its a Java class not
a a Groovy one. Is this a known problem?

Cheers

--
Graeme Rocher
Grails Project Lead
http://grails.org

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

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: Java class parsing bug in Groovy Eclipse plugin?

Scott Hickey-3
It's not a known problem. I haven't seen this before and I'm not sure how that is happening since we check for .groovy extension when processing workspace changes:

                    if (resource.getType() == IResource.FILE
                            && "groovy".equalsIgnoreCase(resource.getFileExtension())) {

Please create an JIRA issue an if possible attach a zipped up workspace with issue. I mix Java and Groovy and I've never seen this.

Scott

----- Original Message ----
From: Graeme Rocher <[hidden email]>
To: [hidden email]
Sent: Wednesday, January 17, 2007 8:39:47 AM
Subject: [groovy-user] Java class parsing bug in Groovy Eclipse plugin?

Hi,

I've been playing with the latests and greatest Groovy plugin, and its
good, however, the one problem I have is that it seems to have a bug
where it also parsed .java files as .groovy files. What this means is
I have a lot of compilation errors appearing in the error view and on
the java editor that don't actually exist because its a Java class not
a a Groovy one. Is this a known problem?

Cheers

--
Graeme Rocher
Grails Project Lead
http://grails.org

---------------------------------------------------------------------
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