Skip to content

How to Create a new GWT Boot Starter Module

Dr. Jawa edited this page Apr 4, 2021 · 14 revisions

In this page you will find a description of how to extend GWT Boot with a new Starter Module. Here are the steps:

  • Git clone the whole project gwt-boot-modules.
  • Edit the gwt-boot-dependencies pom.xml. In this file you have to be carefully add your dependencies. Please be careful because all the Maven libraries in this file should be compatible. The main idea of GWT Boot is that it takes care the compatibility of your libraries and modules (all the versions will work together in your project).
  • Add a GWT Boot Starter Module with your Starter Module. You can take a look at the examples GWT Boot Starter DominoUI:
    • Create a pom.xml for your Starter Module, example: pom.xml.
    • Create a GWT Module file for your Starter Module, example: gwt.xml.
  • Now you are done for your Starter Module.
  • Don't forget to add the new Starter Module in the gwt-boot-dependencies pom.xml. This is important so that you can use the dependencies as an import scope if you can't use the parent pom.xml. See: Spring Boot without Parent POM
  • The next step is to build an example to test your Starter Module. Please take a look at GWT Boot Samples.
  • After finishing the test of the Starter Module you need to add your Starter Module into the documentation.
  • That's it!

Again, the main idea of GWT Boot Starter Modules is to offer the developers that all the dependent libraries can work together seamlessly, so we need to test them rigorously.

Clone this wiki locally