How can I use Springsource templates in Groovy on Grails Toolsuite? - eclipse

I am using Groovy on Grails Toolsuite 3.1.0.
I want to use a template for a Spring MVC application.
I am not finding the template where I would expect it in File – > New -> New Spring Template Project -> Spring MVC Project
Has anybody used SpringSource templates in Groovy on Grails Toolsuite?

I used help -> install new software then I entered http://dist.springsource.com/release/TOOLS/update/e3.8 as the update site and installed Core, Extensions, Integrations, and Resources for Spring IDE.

Related

Spring Tools Suit 4 and Spring roo

I cannot create Spring Roo project is Spring tools Suit 4. Do I need to install a plugin? I tried to install Spring Roo plugin from Eclipse market place but no user. Please Help.
The Spring Roo integration from Spring IDE is not part of the Spring Tools 4 for Eclipse distribution. It still comes as part of the Spring Tool Suite 3 for Eclipse, which can be downloaded from https://spring.io/tools3/sts/all, but it is not in active development anymore and receives minimal maintenance only.

Why no Spring Project in File > New?

I installed Spring Tool Suite(STS) for Eclipse to eclipse 3.7 and the installation was successful.
Unfortunately,
there is no Spring Project option in the Menu File->New;
only a Spring Roo Project option in the Menu File->New->Other.
How can I create a Spring Template Project?
Do I have to install Spring IDE again?
file > new > "Spring Project" is not there with 3.7.2; in order to see Spring Templates I did the following selections:
File > New > Spring Legacy Project
or
File > New > Project > Spring Legacy Project
Both gives you all the Spring Templates:
Simple Projects
- Simple Java
- Simple Java Maven
- Simple Java Web Maven
- ....
- ....
- Spring MVC Project
Not require.
There are two options you can use sts tool.
1. You can use STS tool plugin in eclipse
2. You can directly download STS tool from https://spring.io/tools/sts/all
In both the options it will give you the option to select the new Spring project what ever based on your requirment.

Eclipse STS can't select latest spring version

When choosing File > new Spring Project > Simple Spring Maven I cannot select the latest Spring version under 'select spring version:'.
Options are 3.0.7, 3.1.4, 3.2.3 or default.
Why am I not able to choose 4.2.2.RELEASE version ? Should I do it manually in the pom.xml everytime I start a new project ?
Thanks!
There are two wizards you can use 'New Spring Project' and 'New Spring Starter Project'. Maybe the names are a little confusing. So let me explain.
The 'New Spring Project' is the 'old', 'legacy' wizard.
The 'New Spring Starter' one is the more modern wizard.
The old wizard really should have been removed when we created the new one. But as some folks using STS are really conservative and want to keep using it the wizard is still there. As its an old wizard, it uses old-style template projects which use old spring framework versions.
If you want something more modern, try the other wizard it creates an empty project using Spring Boot and up-to-date versions of spring framework.

STS does not allow me to select framework version 4

Is it correct that STS does allow me to select spring framework version 4 when I create a new "Spring Framework" project ?
I have version 3.6.3.SR1 of the Spring Tool Suite.
Looks like some wizards are and may not allow to select the latest Spring Framework from the UI. You can still open pom.xml once the project is created and fix the Spring Framework version in it.
It is advised to use the new "Create Spring Starter Project" wizard available from the Dashboard as well as from the standard File -> New.

Install spring plugin in Eclipse Luna

I downloaded Eclipse Luna and i want to install the plugin for spring
What is the difference between: Spring IDE plugin and Spring tool suite plugin?
Which one should I download?
Eclipse+Spring Tool suite plugin = Spring Tool Suite release?
Download the Spring tools suite from the following URL and add the extracted libraries to the WEB-INF/lib folder of your dynamic web project.
http://spring.io/tools
or else
Go to Eclipse->Help->Install New Software
Add new site as follows:
Name: SpringSource Update Site for Eclipse 4.4
URL: http://dist.springsource.com/release/TOOLS/update/e4.4/
In the Spring Tool Suite you have more tools build into your IDE and the tools are configured.
As far as STS is concerned:
... comes with Maven, Spring Roo and tc Server developer edition pre-packaged and pre-configured (you can start using tc Server or
Spring Roo right away without the need to download or configure them
manually)
... comes with additional components pre-installed, like the Maven Integration for Eclipse (including the Maven Eclipse integration for
WTP, AJDT and Groovy/Grails)