Eclipse / Groovy

Ondřej Čada <[email protected]> Tue, 24 Jan 2012 13:26:12 +0100
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hello there,

since I've more or less finished the project in which I've used lately =
ERMail only and since there were rather problems with that (though it =
does work), I've decided to try to embrace complete WONDER (and, to this =
goal, sadly leave Xcode and go Eclipse). Also, as an added benefit, I'd =
like to use Groovy along with (and, hopefully, increasingly instead of) =
the Java thing.

I've installed the stuff using the tutorials at the wocommunity wiki, =
and am reading through the other docs, but there are a couple questions =
I'd like to ask you more experienced people out there:

1. Eclipse: for someone who spends most time in Xcode, the thing's GUI's =
a proper disaster :( Did someone succeed to make it at least a bit Mac =
OS X'y? If so, would you share the tricks?

So far about all the customization I was able to find howto are some =
changed hotkeys (e.g., (shift)-cmd-g for find prev/next), but I've found =
so far no way to make it heed the find pasteboard or use cmd-e properly, =
I haven't found a way to open a source editor in a separate window =
(darn, even Xcode 4 can do that), I haven't found a way to alt-arrows go =
by words and ctrl-arrows by sub-words, etc etc etc... And for crying out =
loud, is there a way to switch off the disabling of the main window =
whilst something like Preferences is open?!? :-O It's nice to feel like =
eighties were again, but it rather hinders the productivity, esp. in =
cases one needs to change settings, try to build, and repeat that =
umpteen times :(

2. Groovy: anybody uses the thing? I've bumped into some problems whose =
solutions so far I can't see:

- I've installed groovy to Eclipse, and that essentially works: I can =
e.g., add a groovy class to a WONDER project, instantiate it, use its =
methods etc., and it works all right. At this level though there's one =
weird glitch: an edited .groovy source does NOT get re-build =
automatically; the only way I found to incorporate changes is to clean =
and re-build a complete project?!?

- so as one can use groovy for components, and -- far as I understand -- =
also for better groovy container integration to the WO environment (and =
for development rapid turnaround I could do without myself) the =
Quinton's WOGroovy thing should help. Again, anyone uses the thing? I've =
downloaded it from http://wogroovy.googlecode.com/ SVN and installed; =
there were lot of problems caused by wrong (presumably obsolete?) ERX* =
imports like er.extensions.ERXArrayUtilities instead of =
er.extensions.foundation.ERXArrayUtilities etc. which I've fixed, and =
one problem which I have absolutely no idea how to fix: compiling =
DefaultGroovyMethodsAdditions.java, the very first line -- "package =
org.codehaus.groovy.runtime;" -- keeps generating an error "The type =
er.extensions.ERXGenericRecord cannot be resolved. It is indirectly =
referenced from required .class files". Can anybody help?

Thanks a big lot,
---
Ondra =C4=8Cada
OCSoftware:     [email protected]               http://www.ocs.cz
private         [email protected]             http://www.ocs.cz/oc