Groovy Blog from March, 2008

Groosh 0.3.0 released

Version 0.3.0 of Groosh has been released.

Groosh (http://groovy.codehaus.org/Groosh) provides shell-like capability for handling external processes.

Version 0.3.0 comes with several bug fixes and new features like:

  * The error stream of a process is now usable the same way as the output stream (useError()).
 * A grep method was added which can be used to filter the lines returned by a process.
 * A to List method was added which creates a list out of the lines returned by a process.
 * A eachLine method was added which iterates over the lines returned by a process.
 * The exit values of a process are now accessible. (Thx to Bill Burdick)
 * left shift and right shift operators are overloaded for processes and stream sinks.
 * the pipe operator was overloaded to allow chaining of processes

For more information on Groosh and examples of its use see:

http://groovy.codehaus.org/Groosh

Groosh 0.3.0 can be downloaded from

http://svn.codehaus.org/groovy-contrib/groosh/releases/

OpenSUSE RPM packages are available from

http://download.opensuse.org/repositories/home:/eggeral/openSUSE_10.3/
and
http://download.opensuse.org/repositories/home:/eggeral/openSUSE_10.2/

Labels: groosh, release

Groovy Magic - How Java Got is Groove On

Dan Sline will be presenting on "Groovy Magic - How Java Got is Groove On" for one of the topics at the Houston Java User Groups Meeting on Wednesday night from 6:30 - 8:30 PM.

Minoy Mathew will also be talking about "Java Debugging with No Source Code in Sight at the meeting".

We are meeting at downtown at 1111 Fannin in Houston, TX. 

This month's meeting is sponsored by JPMorganChase, and we have an awesome door prize/giveaway that is a very hot commodity right now.

For more details on the meeting (including parking details), please goto www.hjug.org

Sun engineer Matthias Schmidt has just published an article on the progress of the Groovy and Grails support in NetBeans. The Aquarium also features the ongoing work on support of Grails in Glassfish.

On NetBeans front, Matthias Schmidt and Martin Adamek started working on a plugin back in November. You'll need to use a NetBeans nightly build, and download the Groovy/Grails plugin from the updace center. The plugin already provides:

  • Method-completion including JavaDoc display for Groovy and Java
  • Code Folding of Groovy source files
  • Starting, stopping of the Grails server
  • Importing existing Grails projects with a week arranged display of project structure
  • Groovy/Grails module settings integrated into NetBeans options dialog
  • Marking of source code errors
  • Easy navigation of Groovy source code by using a navigator view
  • Customizing of Grails environment and server port
  • Auto-deploy to the Glassfish application server
  • Starting common Grails tasks from context menu
  • Status of running Grails server displayed in status-line
  • Syntax highlighting

This is a promising beginning, but there's definitely more to come:

  • Debugging support
  • MultiView for easy navigation between corresponding Model-View-Controller files
  • Refactoring support

On GlassFish's side, Eduardo Pelegri reports improvements and bug fixes for running Grails applications in GlassFish and shares a link to the roadmap of the Groovy/Grails support in GlassFish.