IDE: IntelliJ, STS

svn_addsite

How to integrate STS or Eclipse with Subversion (SVN)

2

An Integrated Development Environment (IDE ) is pretty much useless if it does not have integration with a version control system. It is not very agile to have to check out the code to a directory an then manually import it into the IDE of choice. SubEclipse is an Eclipse plugin that will allow SVN (a.k.a Subversion) interaction(check out, check in, versions compare, etc…) straight up from the IDE itself.

Steps to install Subeclipse are as follows:

  1. Fire up your IDE of choice STS (an Eclipse bundle) or  Eclipse.
  2. Click on “Help/Install New Software…”
  3. Click the “Add…” button.
  4. Give a name to the site, I put “Subeclipse” , paste the latest Eclipse update site URL from the Subclipse download project page and then press “OK”
  5. Select all of the components on the next screen as follows:
  6. Follow the installation wizard, accept the terms of the license agreement, and press the “Finish” button
  7. Restart your STS or Eclipse IDE that you have chosen
  8. You should now be able to check out projects from SVN. Click on “New/Other…”. Scroll down until you see a folder called SVN, clicking on “Checkout Projects from SVN” will start the wizard.

In my next post under Development Environment/IDE series I will show you how to check out Java and Groovy projects from SVN.

help_dash

How to set up STS for Groovy and Grails development

0

In this tutorial I will demonstrate how to set up the Spring source ToolSuite to support Groovy and Grails development. Do as follows:

  1. Install the latest JDK, the latest Groovy SDK, and Grails.
  2. Install Springsource Tool Suite (STS) from  http://www.springsource.com/developer/sts
  3. Find the STS.exe from wherever you unzipped the download ,I would recommend putting it straight under C:\ for quick navigation from the command prompt.
  4. Once STS is open, Click on “Help/Dashboard” menu item.
  5. Click on the “Extensions” tab at the bottom.
  6. Check the the Groovy Eclipse extension, click the “Install” button and follow the installation wizard. Restart STS after it’s done.
  7. Go back into the “Extensions” tab and check the Grails Support extension, click the “Install” button and follow the installation wizard. Restart STS after it’s done.
  8. You should be able to create grails projects now either from the “New Project” icon on the top left or from the “Dashboard” screen

Note #1: Keep going to the “Extensions” tab every once in a while to see if the Sprinsource team has added new features to these plugins.

Note #2: If your company is buying into the Groovy & Grails movement try to make them pay for an IntelliJ IDEA license, it’s $250 but it’s definitely worth it as it has native development environment support for Groovy, Grails, and Griffon applications.

Go to Top