Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Check if your modules contain Vaadin implementations.
  2. If they do:
    1. Obtain the https://github.com/vaadin/framework8-migration-tool .
    2. Install it locally and run like a Java jar.
    3. 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.
  3. As stated in Migrating to Vaadin 8, 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
    Stylelanguageboxedxml
    <dependency>

    
      <groupId>com.vaadin</groupId>

    
      <artifactId>vaadin-server</artifactId>

    
      <version>7.7.6</version>

    
    </dependency>

    to 

    mgnl-mini-code-snippet
    Stylelanguageboxedxml
    <dependency>

    
      <groupId>com.vaadin</groupId>

    
      <artifactId>vaadin-compatibility-server</artifactId>

    
      <version>8.1.5</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

    (lightbulb) To be able to use the new Vaadin 8 features, add also the following dependency:

    Mgnl mini code snippet
    Styleboxed

    <dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-server</artifactId>
    <version>8.1.5</version>
    </dependency>


...

Code Block
languagexml
<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>info.magnolia.boms</groupId>
      <artifactId>magnolia-external-dependencies</artifactId>
       <version>5.6</version>
       <type>pom</type>
       <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

...