Geomajas Community Documentation

1.1.3. Running the example applications

Once you have done a "mvn install" on either the entire tree or the "Geomajas" directory, you can use maven to run the example applications.

For the dojo face, you can run the examples using (when in the geomajas-dojo-example directory)

mvn jetty:run

For the gwt face, you have two options. Once in the geomajas-gwt-simple directory, you can run the application in development mode using

mvn gwt:run

Note

Due to classpath problems and the gwt-maven-plugin which does not properly handle excluded dependencies (the "provided" scope), this can fail on some systems.

Alternatively you can run the actual war using

mvn jetty:run-war

Note

It can be advisable to run "mvn clean" between "gwt:run" and "jetty:run-war" or the classpath problem from the previous footnote may appear again.