How to add spring capabilities to Eclipse IDE using SpringSource Tool Suite from the Release Update Site

Hi everyone,

Today I will tell you all how I added spring capabilities to the Eclipse IDE using release update site.

EDIT: Removed Galileo(3.5) and added Indigo(3.7) update sites.

Installing from the Release Update Site

The SpringSource Tool Suite components and dependencies can be installed from an update site into 3.6 and 3.7-based Eclipse installations.

1. The installation will only succeed if the following pre-requisites are fulfilled:

a. Eclipse 3.6 or Eclipse 3.7

b. Eclipse WTP 3.2 or greater

It is easiest to start with a download of the “Eclipse IDE for JEE Developers” package available from http://www.eclipse.org/downloads/

 

2. Disable all update sites in the Eclipse Update Manager:

a. Open Preferences -> Install/Update -> Available Update Sites in Eclipse

b. Select all enabled update sites and disable all sites by clicking the “Disable” button on the right (once a disabled update site is selected the “Enable” button will change to “Disable”).

c. Click “OK” to close the preferences and save your changes.

 

3. Configure STS-related update sites:

a. Download one of the following bookmarks file suitable for your Eclipse version and save it to your harddrive:
• Eclipse 3.6: http://dist.springsource.com/release/TOOLS/composite/e3.6/bookmarks.xml
• Eclipse 3.7: http://dist.springsource.com/release/TOOLS/composite/e3.7/bookmarks.xml

b. Open Preferences -> Install/Update -> Available Update Sites in Eclipse

c. Click the “Import…” button and select the downloaded bookmarks.xml. Click “Open” to finish the import.

d. Verify that the dialog list the following update sites as enabled.

Eclipse 3.6:
• Helios
(http://download.eclipse.org/releases/helios)

• SpringSource Update Site for Eclipse 3.6 (Release)
(http://dist.springsource.com/release/TOOLS/update/e3.6)

• SpringSource Update Site for Eclipse 3.6 (Release + Dependencies)
(http://dist.springsource.com/release/TOOLS/composite/e3.6)

Eclipse 3.7:
• Indigo
(http://download.eclipse.org/releases/indigo)

• SpringSource Update Site for Eclipse 3.7 (Release)
(http://dist.springsource.com/release/TOOLS/update/e3.7)

• SpringSource Update Site for Eclipse 3.7 (Release + Dependencies)
(http://dist.springsource.com/release/TOOLS/composite/e3.7)

c. If those update sites are correctly listed close the preference pane by clicking “OK”.

 

4. Install STS components from the update manager:

a. Open the update manager from Help -> Install New Software …

b. From the “Work with” drop-down select the update site with the name “SpringSource Update Site for Eclipse 3.6” or “SpringSource Update Site for Eclipse 3.7” depending on your Eclipse version

c. Select the components as shown in the following screenshot:

Eclipse
Make sure that all others settings remain as shown on the screenshot.
Note: It is also possible to only install a subset of all available features.

d. Click “Next >” to start the installation process.

e. Click “Next >” on the Install Details wizard page.

f. Select “I accept the terms of the license agreement” on the Review License wizard page and click “Finish”.

g. This will now start the installation process and download all required components.

h. Click “OK” on the Security Warning dialog.

i. Restart Eclipse when prompted in the Software Updates dialog to finish the installation.

 

5. Verify the installation:

a. Open the about dialog from Help -> About Eclipse or Eclipse -> About Eclipse. The dialog should list the Spring IDE and SpringSource logo as shown in the following screenshot

About Eclipse

 

b. Open the “Spring” perspective from Window -> Open Perspective -> Other… -> Spring.

 

So, this is how I did it. Now I am enjoying coding Spring programs in Eclipse IDE.

Please do comment if you have any query.

I am Manohar Bhattarai, a vivid java programmer. I am a keen Linux user. I currently boot Ubuntu Linux. I am a Free/Libre Open Source Software enthusiast.

Posted in Eclipse IDE, Java, Linux Tagged with: , , , , , , , , , , , , , , ,
10 comments on “How to add spring capabilities to Eclipse IDE using SpringSource Tool Suite from the Release Update Site
  1. Ottoman says:

    Thank you, I’ve recently been searching for information about this topic for a while and yours is the greatest I’ve found out till now. However, what about the conclusion? Are you certain about the supply?|What i don’t understood is in reality how you’re no longer actually much more well-liked than you may be right now. You’re very intelligent.

  2. Pankaj says:

    Thanks, It’s Helpful !!

  3. Amit says:

    Which bookmark xml I need to download for Eclipse Juno 4.2 version…?

  4. abhinav says:

    Thank you very much.This post gave me a perfect solution for my problem..

  5. DK says:

    Hi. I did the same thing and looks like it’s installed ok. I also installed GlassFish app server and installed a GlassFish connector.
    Now I’m creating new Spring MVC project from template (hello world app), but it cannot compile as it looks like Eclipse cannot find all those org.springframework jars – none of the spring libs can be imported. What step am I missing here? I do see jars themselves in the plugin directory…

  6. Cesar Pastor says:

    hi;

    Im using juno the error bellow shows and cant continue.

    Cannot complete the install because one or more required items could not be found.
    Software being installed: SpringSource Tool Suite (required) 2.6.1.201105091000-RELEASE (com.springsource.sts.feature.group 2.6.1.201105091000-RELEASE)
    Missing requirement: com.springsource.sts.ide.ui 2.6.0.201105091000-RELEASE requires ‘bundle org.eclipse.ajdt.ui 0.0.0’ but it could not be found
    Cannot satisfy dependency:
    From: SpringSource Tool Suite (required) 2.6.1.201105091000-RELEASE (com.springsource.sts.feature.group 2.6.1.201105091000-RELEASE)
    To: com.springsource.sts.ide.ui [2.6.0.201105091000-RELEASE]

    • Hi Cesar,

      Sorry for late reply. There seems no support for adding STS from update site for 4.2 yet but you can use the nightly snapshot update site for the same with little modifications.
      I have updated the blog for Indigo(3.7).

      Manohar Bhattarai

  7. kaouther says:

    hi I am trying to install Spring’s features and I am using this link http://dist.springsource.com/release/TOOLS/update/3.4.0.RELEASE/e4.3/ to eclipse Juno IDE but I got always error should I uncheck some features? Thnx

  8. rizwan says:

    Hello Manohar Bhattarai ,

    How are you? Dear i have read your guideline properly. In step 4 , Extension STS, core STS and Extension (Incubation)/ spring IDE are missing. i have successfully complete all steps as you mention.please guide me.

    Regard,
    Rizwan Ali

3 Pings/Trackbacks for "How to add spring capabilities to Eclipse IDE using SpringSource Tool Suite from the Release Update Site"
  1. diet says:

    […]How to add spring capabilities to Eclipse IDE using SpringSource Tool Suite from the Release Update Site « Manohar Bhattarai[…]…

  2. Linux cloud howto…

    […]How to add spring capabilities to Eclipse IDE using SpringSource Tool Suite from the Release Update Site « Manohar Bhattarai[…]…

Leave a Reply