Gradle Vaadin Plugin 1.2 released

I am happy to announce a new minor version of the plugin! Here are the most prominent changes with the 1.2 release. Plugin id changes The old plugin id (fi.jasoft.plugin.vaadin) has long referenced a site that has not existed in a long time so it was time to update the id. The fi.jasoft part of the plugin name has been changed to com.devsoap and the plugin can now be applied to your project by using the following: plugins { id 'com.devsoap.plugin.vaadin" version "1.2.0" } #### Spring Boot JAR packaging »

Never compile your widgetset again with Gradle build-cache

Widgetset compile is one of the most time-consuming things in any Vaadin build. On a fast machine it will usually take from just under one minute up to several minutes every time we launch a build . If we are using a smart build system like Gradle, along with a smart plugin that can monitor the inputs of the compilation we can get away with only compiling when something changes, but still in reality we will have to re-compile it from time to time. While long build times usually are not a problem when building on a CI server like Jenkins, »

Cleanly handle exceptions in tests with Lambdas

If you have been writing tests for some time then the following construct should be pretty familiar to you for handling test cases: @Test public void myTest() { // Test something here... try { // Test something that will throw SomeException Assert.fail("Test did not throw expected exception."); } catch (SomeException e) { // Expected } // Test something here... } This has annoyed me some time already as it makes a clean looking test just plain ugly and I have been looking for a way to clean this mess up. You might at this point now argue that you could split the test up in smaller »

EOL for Vaadin addons

I have been supporting many of my Vaadin addons I have contributed to the open source community for a long time (some soon over half a decade) and currently I find I have no longer the time or energy to keep them up to date with Vaadin releases. The following addons will be effected: FlashCanvas DragDropLayouts QRCode VBug UIDLCompressor TwitterQueryContainer SimpleCalendar RemoteConnection ObservableListContainer If you have used one of the following addons then feel free to continue using it but don't expect any new updates. By terminating support for these addons it will free up time for me to concentrate »

Building Spring Boot Vaadin applications with Gradle

Alright, so you have been bitten by the Spring Boot bug and want to write your Vaadin applications using Spring Boot and Gradle. How would you get started? 1. Create a Gradle Spring Boot project First off create a standard Gradle project with a build.gradle file and nothing else and add the following to build.gradle: // build.gradle plugins { id 'com.devsoap.plugin.vaadin' version '1.2.1' id 'org.springframework.boot' version '1.5.3.RELEASE' } jar { baseName = 'myapp' version = '0.0.1-SNAPSHOT' } springBoot { // Main class of @SpringBootApplication mainClass = 'com.example.test.Application' } 2. Initialize project Now, to »