Java Reference
In-Depth Information
A.5. Installing other projects in the Groovy ecosystem
The GVM tool currently will install and manage Groovy, Grails, Griffon, and Gradle dis-
tributions, among other projects. [ 6 ] That's the easiest way to proceed if you're on a Mac
or Unix distribution. Again, on Macs both HomeBrew and MacPorts have options for
the same set of projects. On Windows, Groovy has the installer mentioned earlier in this
chapter.
6 The current list of candidates is Groovy, Grails, Griffon, Gradle, Lazybones, Vertx, and Groovyserv.
Grails is always a ZIP file that you download and unzip. Then you set an environment vari-
able ( GRAILS_HOME in this case) and add the bin subdirectory to your path. Griffon and
Gradle work much the same way.
Note that all of these projects have their own source code repositories on GitHub. You can
always clone the distribution and build it yourself, though that tends to get involved. See
the respective project pages for details. One of the best things about GitHub is that you can
browse the source code without downloading anything. It's a good idea to get familiar with
the test cases contained in the various projects, because they're the executable document-
ation for each. Web pages can go out of date, but continuous integration servers execute
test cases all the time. When they break everybody knows about it, and they get fixed right
away.
The only other project discussed extensively in this topic is Spock. Spock is a library rather
than a framework and is usually installed as part of a Gradle (or Maven) build. Its source
code is on GitHub, too.
 
Search WWH ::




Custom Search