Installing Vaadin Board
|
Note
| Vaadin Board is only available for Vaadin Framework 8.1 and newer. |
As with most Vaadin add-ons, you can install Vaadin Board as a Maven dependency in your project. For general instructions on installing add-ons, please see "Using Vaadin Add-ons".
Vaadin Board 1.1.0 requires Vaadin 8.1 or later.
Using Vaadin Board requires a license key, which you must install before compiling the widget set. The widget set must be compiled after setting up the dependency or library JARs.
Maven Dependency
The Maven dependency for Vaadin Board is as follows:
Source code
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-board</artifactId>
<version>1.1.0</version>
</dependency>You also need to define the Vaadin add-ons repository if not already defined:
Source code
XML
<repository>
<id>vaadin-addons</id>
<url>https://maven.vaadin.com/vaadin-addons</url>
</repository>Installing License Key
You need to install a license key before compiling the widget set. The license key is checked during widget set compilation, so you do not need it when deploying the application.
You can obtain a free trial key from the Vaadin Pro Licenses. You need to register in Vaadin Directory to get the key.
To install the license key in a development workstation, you can copy and paste it verbatim to a .vaadin.board.developer.license file in your home directory. For example, in Linux and OS X:
Source code
XML
$ echo "L1cen5e-c0de" > ~/.vaadin.board.developer.licenseYou can also pass the key as a system property to the widget set compiler, usually with a -D option. For example, on the command-line:
Source code
XML
$ java -Dvaadin.board.developer.license=L1cen5e-c0de …See the CVAL license key installation instructions for more details.
Passing License Key in Different Environments
How you actually pass the parameter to the widget set compiler depends on the development environment and the build system that you use to compile the widget set. Below are listed a few typical environments:
- Eclipse IDE
-
To install the license key for all projects, select