Source builds using Git

The THREDDS/CDM code (version 4.3) is now being hosted on GitHub. We recommend reading the free Git Pro book to get started with Git. You will need an account on GitHub.

Follow directions from GitHub to set up Git:

  1. On windows, download mysygit. We are currently (8/5/2011) using Git-1.7.6-preview20110708.exe .

Once you have git installed, clone the current version of thredds:

git clone git://github.com/Unidata/thredds.git

You now have the entire THREDDS/CDM source repository! To build the Netcdf-Java library with ant:

cd thredds/cdm    
ant clean makeMainComplete

One can also use maven:

cd thredds  
mvn install

Notes on using the IntelliJ IDE

  1. Make sure you are using 10.5+
  2. Configure Git in Settings: Version Control / VCS / Git
  3. In Version Control / Checkout from version Control / GitHub : checkout respository Unidata/thredds
  4. Once you have that checked out, open the thredds project under intellij/threddsFull
  5. Go to Settings: Version Control / VCS, delete the subversion mappings and add a Git mapping to the project root directory

We have also started some Git recipes for Unidata development here:


This document is maintained by John Caron and was last updated November 2011