All Projects → tbroyer → Gwt Maven Archetypes

tbroyer / Gwt Maven Archetypes

Licence: apache-2.0

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Gwt Maven Archetypes

gwty-leaflet
A GWT JsInterop wrapper for Leaflet.
Stars: ✭ 29 (-78.36%)
Mutual labels:  gwt
Activityinfo
Platform for field-level monitoring and analysis of humanitarian actions
Stars: ✭ 33 (-75.37%)
Mutual labels:  gwt
Autorest
Auto RESTful Service Proxy Generator for GWT
Stars: ✭ 76 (-43.28%)
Mutual labels:  gwt
Document Management System
OpenKM is a Open Source Document Management System
Stars: ✭ 373 (+178.36%)
Mutual labels:  gwt
Jts
JTS Topology Suite
Stars: ✭ 26 (-80.6%)
Mutual labels:  gwt
Charba
J2CL and GWT Charts library based on CHART.JS
Stars: ✭ 38 (-71.64%)
Mutual labels:  gwt
react4j
An opinionated react java binding
Stars: ✭ 33 (-75.37%)
Mutual labels:  gwt
Gwt Jackson
gwt-jackson is a JSON parser for GWT. It uses Jackson 2.x annotations to customize the serialization/deserialization process.
Stars: ✭ 110 (-17.91%)
Mutual labels:  gwt
Autorest Nominatim Example
AutoREST Nominatim [jre, gwt, android, jee] example
Stars: ✭ 9 (-93.28%)
Mutual labels:  gwt
Gamecomposer
GameComposer is a game authoring tool and also a game runtime environment targeting at desktop and mobile devices.
Stars: ✭ 59 (-55.97%)
Mutual labels:  gwt
Gwt Material
A Google Material Design wrapper for GWT
Stars: ✭ 386 (+188.06%)
Mutual labels:  gwt
J2cl
Java to Closure JavaScript transpiler
Stars: ✭ 773 (+476.87%)
Mutual labels:  gwt
Gwt Api Generator
Generator for creating GWT JSInterop clients from Polymer Web Components
Stars: ✭ 49 (-63.43%)
Mutual labels:  gwt
gwtdo
GWTdo is a .NET library that helps developers write readable tests. It's a DSL based on the Given-When-Then style which could be used in your test projects.GWTdo
Stars: ✭ 23 (-82.84%)
Mutual labels:  gwt
Apollo
Genome annotation editor with a Java Server backend and a Javascript client that runs in a web browser as a JBrowse plugin.
Stars: ✭ 93 (-30.6%)
Mutual labels:  gwt
gwt-time
Backport of functionality based on JSR-310 to GWT. This is NOT an implementation of JSR-310.
Stars: ✭ 17 (-87.31%)
Mutual labels:  gwt
Gwt Boot Modules
GWT Boot: BOMs and POMs, Starters, Dependencies and Parent
Stars: ✭ 38 (-71.64%)
Mutual labels:  gwt
Elemental2
Type checked access to browser APIs for Java code.
Stars: ✭ 115 (-14.18%)
Mutual labels:  gwt
Gwt Eclipse Plugin
GWT Eclipse Plugin Documentation
Stars: ✭ 100 (-25.37%)
Mutual labels:  gwt
Gwt Ol
GWT wrapper for OpenLayers 3+ using JSInterop
Stars: ✭ 57 (-57.46%)
Mutual labels:  gwt

gwt-maven-archetypes

This project contains Maven archetypes for modular GWT projects.

How to use

Generate a project

mvn archetype:generate \
   -DarchetypeGroupId=net.ltgt.gwt.archetypes \
   -DarchetypeVersion=LATEST \
   -DarchetypeArtifactId=<artifactId>

where the available <artifactIds> are:

  • modular-webapp
  • modular-requestfactory
  • dagger-guice-rf-activities

This should use the latest release from the Central Repository. Alternatively, and/or if you want to hack on / contribute to the archetypes, you can clone and install the project locally:

git clone https://github.com/tbroyer/gwt-maven-archetypes.git
cd gwt-maven-archetypes && mvn clean install

You'll then use the mvn archetype:generate command from above, except for the -DarchetypeVersion argument which you'll replace with HEAD-SNAPSHOT.

Start the development mode

Change directory to your generated project and issue the following commands:

  1. In one terminal window: mvn gwt:codeserver -pl *-client -am
  2. In another terminal window: mvn jetty:run -pl *-server -am -Denv=dev

Or if you'd rather use Tomcat than Jetty, use mvn tomcat7:run instead of mvn jetty:run.

Note that the -pl and -am are not strictly necessary, they just tell Maven not to build the client module when you're dealing with the server one, and vice versa.

Profiles

There's a special profile defined in the POM file of server modules: env-dev, which is used only when developping. It configures the Jetty and Tomcat plugins and removes the dependency on the client module (declared in the env-prod profile, active by default.)

To activate the env-dev profile you can provide the -Denv=dev system property, or use -Penv-dev.

Compatibility

To use variable interpolation in parameters during mvn archetype:generate, you need at least version 2.2 of the maven-archetype-plugin. Archetypes use ${module.toLowerCase()} as the default value for the module-short-name parameter, so if you don't use version 2.2 or above of the maven-archetype-plugin, make sure you provide a value and do not use the default one for that parameter. You can also make sure you use version 2.2 of the plugin by using mvn org.apache.maven.plugins:maven-archetype-plugin:2.2:generate instead of mvn archetype:generate. It should be noted that variable interpolation also does not work in M2Eclipse's wizard, despite using recent versions of Maven thus (probably) a recent-enough version of the maven-archetype-plugin.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].