Spring Tool Suite & Groovy/Grails Tool Suite 3.4.0.M1: New and Noteworthy

General Updates

Updated to Eclipse Kepler SR1 RC1

The main distributions are now based on the latest Eclipse Kelper SR1 release candidate builds, including the latest bugfixes that go into Eclipse Kelper SR1.

Easy and quick Stop and Restart

A 'Stop' and 'Restart' button have been added to the Eclipse 'Launching' toolbar. Just clicking the button applies to the last process you started. Alternatively, select a specific currently running process from the pulldown.

Pivotal tc Server Developer Edition updated to 2.9.3

STS and GGTS now ship with the latest Pivotal tc Server Developer Edition 2.9.3.

Grails updated to 2.2.4

GGTS now ships with Grails 2.2.4.

Spring Tooling updates

New Dashboard

The distributions ship with a completely renewed dashboard. This new dashboard is designed and implemented to provide easier navigation, a better browsing experience and more direct access to the new getting started content on http://spring.io/.

Support for new Getting Started Guides

The dashboard welcome page provides links to useful resources on the spring website. The 'Browse Guides' link takes you to an index of Getting Started Guides on the spring.io website. The typical guide will come with sample code that can easily be imported into STS via the 'Getting Started Content' import wizard. The wizard can be opened in several ways.

Use the wizard to search getting started content by keyword, then pick a guide of your choice. You can import the code associated with the guide into the workspace as either Gradle or Maven projects. The tutorial content of the guide will open in a web browser.

New Spring Starter Project Wizard

This wizard creates a Spring Boot enabled project. Open the wizard from the menu "File >> New >> Spring Starter Project". Select some Spring Boot Starters and an app with the desired classpath elements is created. Spring Boot does the rest, configuring suitable defaults for your Spring app based on what's on the classpath.

Automatic detection for JavaConfig classes

STS 3.4.0 can now automatically detect Java types annotated with @Configuration, @Component, @Bean, @Import or @EnableAutoConfiguration and automatically add them to the Spring model as JavaConfigs. This setting can be enabled in the project properties:

Basic support of Groovy for Spring apps

STS 3.4.0 will treat annotated Groovy Config classes as though they were Java Config classes and add them to the Spring model:

Java8

Easy access to Eclipse Java 8 support (currently in beta)

The eclipse team are working hard on Java8 support and many of the proposed language features are already supported. The STS team is now building the beta versions of this support into an update site. The Java 8 support can be installed via the usual route (dashboard extensions page) or using the regular eclipse update site mechanism and this URL:


http://dist.springsource.com/snapshot/TOOLS/java8/e43


There are also complete distributions created nightly containing the Java8 feature, see the second group of downloads available here:


http://dist.springsource.com/snapshot/STS/nightly-distributions.html


With the features installed it is then possible to set a project compatibility level to 1.8 and start to explore the new language constructs. Be aware that it is important to run code compiled via this route against a compatible level of JDK8. b97 works well but can be tricky to get hold of. With b105 there are currently problems with running code using lambdas. If in any doubt what to use, ask on the tools forum, the situation changes daily (the update site is rebuilt every evening to include the latest changes).

Note:Currently this will not install into GGTS. The Java8 support is currently shipped as a feature patch for the compiler. Groovy-Eclipse also includes a feature patch for the compiler. They cannot both be installed at the same time.

Cloud Foundry Integration for Eclipse 1.5.1

1.5.1 introduces 3 new features that expand on the v2 Cloud Foundry server support added in 1.5.0.

Buildpacks

Buildpacks can now be specified when pushing an application to a Cloud Foundry server. When the deployment wizard opens after dragging and dropping an application to a Cloud Foundry server instance, the first page allows users to enter a URL to a buildpack (e.g. https://github.com/cloudfoundry/java-buildpack).

Clone Server to Target Space

It is now easier to clone an existing Cloud Foundry server instance to target another space. In either the Cloud Foundry editor "Overview" tab, or Servers View context menu, select "Clone Server". This will open a wizard that allows a user to create a new server instance to another organization or space without having to go through the New Server Wizard again.

Multiple Domains

When deploying an application, or editing the application's mapped URLs, the URL UI has been enhanced to show the host and domain components of the application's URL. A user can now select other available domains from a combo control.

AJDT

AspectJ 1.8.0.M1

The Eclipse 4.3 based distributions now include the first milestone of AspectJ 1.8. Normally the first milestone of a new major AspectJ release cannot compile source at that Java level but only weave it. However, this time the first milestone can compile Java 1.8 source code (and weave it).

Groovy-Eclipse

Groovy 2.1.6

Groovy Eclipse now supports Groovy 2.1.6 - this is installable from the dashboard.

Compiler Customizers

Groovy Eclipse, when using the 2.1.X versions of Groovy, now supports Groovy compiler customizers. They are specified by including an entry in the project .settings/org.eclipse.jdt.core.prefs:

org.eclipse.jdt.core.compiler.groovy.groovyCustomizerClassesList=pkg.MyCustomizer

The customizer must be discoverable on the project classpath. Multiple customizers can be specified - separate them with a ','. There is no UI for setting these yet.


Issues resolved in this release

Here is a full list of resolved bugs and enhancement requests for 3.4.0:

STS/GGTS issue tracker

Spring IDE issue tracker

Groovy-Eclipse issue tracker


Useful Links

Download STS: https://spring.io/tools/sts/all

Download GGTS: https://spring.io/tools/ggts/all

STS/GGTS forum: http://forum.spring.io/forum/spring-projects/springsource-tool-suite

STS/GGTS Issue tracker: https://issuetracker.springsource.com/browse/STS


Known issues in this release

The extension install page of the dashboard is broken after installing the latest JDK 7u40: https://bugs.eclipse.org/bugs/show_bug.cgi?id=417043. This problem in Mylyn also affects the m2e catalog discovery. There is no known workaround for this at the moment. We hope to include a fixed version of Mylyn in the upcoming 3.4.0 release.

The known issues from the previous 3.3.0 release are fixed in 3.4.0.


New and Noteworthy for previous releases

STS/GGTS 3.3.0

STS/GGTS 3.2.0

STS/GGTS 3.1.0

STS/GGTS 3.0.0

STS 2.9.2

STS 2.8.1

STS 2.7.2

STS 2.6.1.SR1

STS 2.5.2.SR1