Learning about Groovy FAQ

This FAQ hopes to answer common questions for users of Groovy

What is Groovy?

  • Groovy is trying to provide a high level language (like Ruby, Python or Dylan) that maps cleanly to Java bytecode.
  • It needs to work with Java objects, and the root of all the object trees is java.lang.Object.
  • The syntax will be Java friendly, but doesn't have to be backwards compatible.
  • Groovy will sit on top of J2SE.

Where can I get more information on Groovy?

The current user documentation for Groovy is available from http://groovy.codehaus.org

What if the documentation is wrong?

Anybody can change these pages, just click on the little Edit link on the right of each page (you then have to signup/login if you haven't already).

How can I get a binary version of Groovy?

Download latest distribution as a zip or tgz file and then follow the installation instructions

How do I embed Groovy in my own programs?

Download latest groovy-all.jar and place it in your classpath.

How can I grab the sources?

You can either browse the CVS repository, or if you are happy with using cvs

cvs -d :pserver:anonymous@cvs.groovy.codehaus.org:/home/projects/groovy/scm login 
cvs -z3 -d :pserver:anonymous@cvs.groovy.codehaus.org:/home/projects/groovy/scm co groovy

Labels

 
(None)
  1. Jun 01, 2006

    coolman says:

    I can't access CVS repository. When I try to access cvs by Eclipse , error messa...

    I can't access CVS repository. When I try to access cvs by Eclipse , error message "Could not connect to :pserver:anonymous@cvs.groovy.codehaus.org:/home/projects/groovy/scm: I/O exception occurred: Connection refused: /home/projects/groovy/scm: no such repository " appears .

  2. Jun 02, 2006

    glaforge says:

    For the moment, the CVS connection information is listed there:

    For the moment, the CVS connection information is listed there:

    http://xircles.codehaus.org/projects/groovy/

  3. Jun 02, 2006

    coolman says:

    Thank you \!\!\!

    Thank you !!!