Skip to end of metadata
Go to start of metadata

Groovy sources

The sources of the Groovy project are hosted on Github: 

Additionally, the sources are mirrored on Codehaus' own Git infrastructure as well:
You can learn about the repository details on the Xircles Codehaus admin interface:

If you're interested in contributing, you can send us GitHub pull requests, or submit patches through JIRA. Please see our contribution page for more.

You can also get the sources for each releases in the form of a zip archive. Please head to our download section to download those source packages.

Checkout the code

First of all, you'll need to have Git installed on your machine, whether through the support of your IDE, or as a command-line tool.

If you want to checkout the source code of Groovy, there are three different URLs you can use. From the command-line, you can use the command:

You can checkout different branches, in particular:

  • master is the latest Groovy branch, for the upcoming major version
  • GROOVY_1_8_X is the branch of the curret Groovy 1.8.x versions (current stable version)
  • GROOVY_1_7_X is the branch for the previous official version of Groovy 1.7.x

For fetching a branch the first time, simply use:

To checkout a particular branch:


Developers: Make sure your SSH information is up-to-date on Github or on Codehaus Xircles and that your SSH key is available to your command-line client or IDE integration.
Please also make sure that you configured your email and name properly, by issueing the following commands:

Committing your changes (developers)

Use the commit command to commit your changes locally:

Picking commits from another branch

Say you have committed your changes on master and want to merge a particular comming on GROOVY_1_8_X, you can procede as follows:

Staying up-to-date

To see what's the status of your source tree, you can call:

And if you want to see all the latest commits that you have locally, you can do:

To retrieve the changes that have been pushed to the server, you can do:

Of more explicitely:

Pushing your changes upstream

The various commits you've made are done locally, now is the time to share them with the world by pushing your changes to your Github clone, or to a publicly available Git repository:

If you're a Groovy despot, you can also push your changes to Codehaus for manual synchronization purpose. But for that, first, you'll have to have configured an additional remote with:

Then you can push the changes back to GitHub as well:

Pushing a local branch to the remote repository

To push a local branch to the Codehaus Git repository or on the GitHub mirror, you can do the following:

Merging pull requests from GitHub

Contributors might bring their contributions in the form of "pull requests" on our GitHub mirror.
Groovy despots can merge the pull requests on GitHub through the web interface by following this proposed workflow:

Additional links

If you want to learn more about Git, there are many available resources online, such as:

  • No labels