Friday, June 29, 2012

Getting started with THREDDS, GitHub, and Spring Sources Tool Suite (STS).
First we want to download the THREDDS git hub repository.
  1. In STS select File -> Import
  2. Select Git -> Projects from Git, click Next
  3. Select Repository Source URI, click Next
  4. For URI enter: https://github.com/Unidata/thredds.git , click Next
  5. Accept defaults, click Next
  6. Browse to your destination directory, click Next
  7. Use the New Project wizard, click Finish
  8. In the New Project wizard, uncheck default location and browse to the new local git repository, e.g. \Sts\Workspace\git\thredds (from step 6 above), click Finish
Now I want to test building the thredds war. I use m2e plugin for eclipse for maven integration (see http://www.eclipse.org/m2e/).
  1. In STS select Run -> Run Configurations
  2. Select Maven Build, and press the new button.
  3. Enter your base directory for the project e.g. ${workspace_loc:/thredds}
  4. Set Goals to install
  5. Click Run
A thredds.war should now be available in the target directory available for testing.

No comments: