Groovy for Domain-specific Languages - Second Edition

(nextflipdebug2) #1
[ 21 ]

Groovy Quick Start


In this chapter, we will jump straight into getting you up and running with the
language on your computer. We will explore the various ways you can get Groovy
installed and running on your environment, and look at how we make use of the
various tools that come packaged in the Groovy installation:



  • We will start out with a section on using GVM. This is definitely
    the preferred mechanism for installing Groovy and a host of other
    Groovy-related tools.

  • We will follow this with a section on how to find the Groovy binaries and
    install them on your system.

  • The next section will guide you through running Groovy scripts by using
    the various shell tools provided with the Groovy download.

  • Most of you will be using one of the popular IDE environments, so
    we'll look at the various integration options for the popular IDEs
    and programmer's editors.


Installing Groovy with GVM


The Groovy ecosystem continues to evolve and is not too proud to take inspiration
from other sources. While the language itself has moved forwards in leaps and
bounds over the last few years, by far my favorite addition to the ecosystem is GVM
(Groovy enVironment Manager). GVM was inspired by tools such as RVM (Ruby
Version Manager).

Free download pdf