4

I have a project that was created in Eclipse, but I'd like to use SpringSource's STS IDE now. I have the Java project in STS now and I converted the project to a Maven project to get Maven's support.

Question

What exactly does the "Add Spring Project Nature" feature do? What is its purpose?

Edit Maybe the better question is what does "nature" mean relative to Spring STS?

Simeon Leyzerzon
  • 18,658
  • 9
  • 54
  • 82
Robert
  • 1,638
  • 7
  • 34
  • 45

2 Answers2

9

The "nature" has nothing to do with your code or spring. In eclipse, a "project nature" creates an association between the a project and a tool, plug-in, or feature set. By adding a nature to an eclipse project, you tell an eclipse plug-in that it is configured to use that project. By adding the "Spring Project Nature" to your project, you are enabling eclipse's spring plugin to work with your project.

walrii
  • 3,472
  • 2
  • 28
  • 47
  • 1
    So will this turn my project that is a simply web project into a spring aware project? Do I have to install some other software (besides the spring .jar files) to make it spring aware? – Robert Aug 30 '12 at 11:34
  • 2
    Since your project is a maven project and it is inside of STS, there is nothing more you need to do. By adding the spring nature, STS will now add some new capabilities to your project and it will be laid out differently in the project explorer. – Andrew Eisenberg Aug 30 '12 at 15:58
2

I found out myself; sharing it as may be useful to others.. Steps involved:

  1. Go to "Help", click on "Install new Software"
  2. enter this link :http://springide.org/updatesite in the link section.
  3. select "Spring IDE core" from the list populated below. You can select other also depending upon your use, then follow on screen instructions.
Satyam
  • 74
  • 6