Monday May 21, 2007
Basic Groovy
I'd have put this on the Plugin Portal, but I don't seem to be able to access it. So here it is, very basic Groovy support:
I got an error when I switched to the Console view on Ubuntu Linux, but encountered no such error on Windows. So as far as I know, this works on Windows. Download the ZIP file above and you'll find three NBM files. Install them in 6.0 Preview (Milestone 9) and you'll be able to use the functionality illustrated in the following few screenshots.
First, you'll have two new project types:

Next, when you have a Groovy file, you'll also have a Console view (this is the part that fails for me on Ubuntu Linux 7.04):

In the Source view, you can also run Groovy files, with some broken syntax coloring to confuse you:

Note that some attempt has been made to keep the two views synchronized, the thinking being that you experiment a bit in the Console view and then you adopt whatever you like there in the Source view.
Finally, you can also put Groovy files in Java applications, as can be seen here:

In other words, this is the Coyote functionality, ported to 6.0, with a few other experimental things (e.g., broken Schliemann syntax coloring) thrown in. Use at your own risk.
May 21 2007, 04:55:26 AM PDT Permalink


