Jeff Sussna
unread,Feb 22, 2012, 6:01:56 PM2/22/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Groovy++
I have introduced Groovy++ into an existing project that mixes Java,
Groovy, and Easyb. For the most part it's working fine. However, GPP
is unable to resolve Java or Groovy method calls inside my Easyb file.
It shows them all as underlined in Eclipse. After some
experimentation, I have discovered the following:
1. It doesn't matter whether my easyb file uses ".story" or ".groovy"
for a filename suffix
2. If I wrap my easyb clauses inside a class, the problem goes away
3. If I comment out all references to one particular class that my
easyb clauses are using, the problem goes away
4. That particular class (call it Foo) happens to be the only Groovy
class referenced by my easyb clauses. All others are Java classes. If
I change the filename from "Foo.groovy" to "Foo.java" the problem goes
away (Foo happens to be legacy Java-compatible code).
Any idea what's going on?
I am using Eclipse 3.6, groovy-all-1.8.2, grovypp-0.9.0_1.8.2, and
easyb-0.9.8.