...
- Check whether and which of your modules contain Vaadin implementations.
- If they do:
- Obtain the https://github.com/vaadin/framework8-migration-tool .
- Install it locally and run like a Java jar.
- The script automatically changes the imports of the affected classes and thus – in the majority of cases – will make your module(s) compatible with Vaadin 8.
- As stated on https://vaadin.com/docs/framework/migration/migrating-to-vaadin8.html, some dependencies need to be added in order to use the compatible classes from Vaadin 7 (such as
TextField
).
Change the vaadin-server
dependency from
Mgnl mini code snippet |
---|
|
<dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-server</artifactId> <version>7.7.6</version> </dependency> |
to
Mgnl mini code snippet |
---|
|
<dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-compatibility-server</artifactId> <version>8.0.0</version> </dependency> |
The full list of compatibility packages available for Framework 8:
vaadin-compatibility-server
vaadin-compatibility-client
vaadin-compatibility-client-compiled
vaadin-compatibility-shared
vaadin-compatibility-themes
To be able to use the new Vaadin 8 features, add also the following dependency:
Mgnl mini code snippet |
---|
|
<dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-server</artifactId> <version>8.0.0</version> </dependency> |
Please see also the links in the Futher reading section below for more information on upgrading from Vaadin 7 to Vaadin 8.
Vaadin widget sets
Vaadin7WidgetSet
...