Provides a shell-like capability for handling external processes.
Groosh is a Unix like shell written in Groovy. It has also been known as the Process Module but was renamed (back) when it was updated to work with Groovy 1.0.
The current version of Groosh is 0.3.6
- Yuri Schimke - Founder and original contributor
- Alexander Egger [alexander.egger at gmail.com] - Current maintainer
Source code and binary releases are available at http://kenai.com/projects/groovy-groosh.
Groosh can be used via Grapes.
Note: If Ivy (Grapes) can not download Groosh add the file
directory with the following content:
There seams to be some problem with checksums generated by Maven 2.2.1
No installation required. Groosh can be added to Groovy using Grapes.
Try the following script to check if it worked:
Groosh is based on Groovy 1.7.0 or higher.
The following example shows Groosh in action:
Another example :
Sometimes the name of a shell command conflicts with a Groovy method (for example ''grep''). This means that
does not execute the shell command, but the Groovy method grep(...).
As a workaround for that you may prefix any shell command with _ this means the example above becomes
The following example shows a more elaborate example. It uploads photos to a flickr account using the command line tool flickcurl. A photo set of this images is created and named after the current directory.
The Groosh source code is available from https://svn.kenai.com/svn/groovy-groosh~subversion.
Building with Netbeans
Open the Kenai project in Netbeans and run build.
Building without Netbeans
Check out the source from
Groosh uses Maven 2 for building. You have to have Maven 2 installed.
Just execute mvn in the groosh directory groosh gets build.
Please contact Alexander Egger [alexander.egger at gmail.com] by e-mail.
For mailing lists, issue trackers, forums etc see http://kenai.com/projects/groovy-groosh