JBoss.orgCommunity Documentation
In order to get you going quickly, we've provided a project archetype, that allows you to create a project skeleton similiar to the one we use for building the examples. It's based on the maven archetype plugin http://maven.apache.org/plugins/maven-archetype-plugin/ and needs to be invoked from the command line:
When invoking the archetype build you will be asked to provide the maven groupId, artifactId and package name your GWT application should use:
What will be created for you, is a maven build structure, including references to the GWT SDK and the Errai dependencies necessary to launch a simple application.
In order launch the GWT development mode, change into the project directory (name corresponding to the provided artifactId) and type:
By default the archetype does package the web application for Development Mode execution. If you want to deploy your application to JBoss, you need to execute a clean rebuild using the JBoss profile (e.g.
-Pjboss7
).