Skip to main content
0 online

Groovy

deanh77 by deanh77Founder · May 27, 2004 · 105 views · ·

Ok, I never looked into this, but I read slide presentation on it and it seemed cool. It's basically a Java scripting language. You can run a shell from the command line and create objects, run methods, etc.

This is what I did in the first 2 minutes:
Y:\>groovysh

Lets gets Groovy!

Hit carriage return twice to execute a command

The command 'quit' will terminate the shell

groovy> help

groovy>

null

groovy> "s"+"t"

groovy>

'st'

groovy> 1+2

groovy>

3

groovy> ("S"+"t").toLowerCase()

groovy>

'st'

Of course there's a lot more to it, and you can use it for a lot more than just toying with the shell.

http://groovy.codehaus.org/

To contribute to the discussion, please log in.

3 Comments

ilikebirds ilikebirdsOG 2002 ·

wow thats so hot

look what i just did

Y:\>groovysh
Lets gets Groovy!
Hit carriage return twice to execute a command
The command 'quit' will terminate the shell
groovy> help /woman
groovy>
tough
groovy> "appear"+"hot"
groovy>
'hot chick appears and steals your shoes then runs away to neverland'
groovy> why
groovy>
me

deanh77 deanh77Founder ·

wow. didn't know it had that kind of functionality.

aviator aviatorOG 2004 ·

this is very odd. Yet I understand

Welcome Back to eZabel

It's been a while. Here's what's new.

eZabel Lore

A complete history of our community — stats, Hall of Fame, legendary threads, and more.

View the Lore →

Everything Preserved

All 225,969 pieces of content from 2000–2014 are here — forums, messages, journals, photos, polls, and events.

💎

Gems

Spot something you love — a legendary comment, a classic thread, a great photo? Log in and click the diamond icon to mark it as a Gem. Add a note about why it's special. The best stuff surfaces on the Gems page.