Questions tagged [gwt-maven-plugin]

Facilitates GWT web application development using Maven as build tool.

Facilitates GWT web application development using Maven as build tool to provide:

  • GWT compiler execution for packaging your application into a WAR Compile and Debug
  • generate GWT internationalization ("i18n") interfaces from bundles Internationalization
  • running tests (or test suites) based on GWTTestCase framework as part of Maven build, Testing Support
  • run (or debug) in DevMode from Maven DevMode
  • generate boiler code for GWT-RPC Async interface from synchronous server-side interfaces Generate Async interfaces for GWT-RPC
  • integrate nicelly into Eclipse, thanks to M2Eclipse and the Google Plugin for Eclipse.

More Info

101 questions
2
votes
1 answer

GWT multi-module app not compiling when dependent module is changed

I have a pure-Java project (A) and a GWT project (B) set up as a multi-module GWT project as described here. When I run mvn install for the first time, A compiles, then B performs a full GWT compile. However if I change anything in A, then B does…
funkybro
  • 8,432
  • 6
  • 39
  • 52
2
votes
1 answer

Should hosted.html be removed from GWT app's .war file? How?

We build a GWT app (using gwt-maven-plugin) resulting in a .war file. Currently this .war file contains a file called hosted.html, which is used to run in development (née hosted) mode, when query parameter gwt.codesvr=... is specified. Is there a…
2
votes
1 answer

GWT blamed RequestFactory ValidationTool must be run on on sub module(project) when launching main project

GWT 2.5.0/Google Plugin for Eclipse/m2e/GWT-maven-plugin 2.5.0/Request Factory I configs my project according to the GWT wiki working with maven and it works pretty well, but has some trouble in my sub-project. Suppose i have two project A and B, A…
Mike
  • 3,515
  • 10
  • 44
  • 67
2
votes
1 answer

Generated project with gwt-maven-plugin : eclipse

I created a GWT project with mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.5.0 Imported the project in eclipse juno. First error I get is this : Plugin execution not…
klind
  • 855
  • 2
  • 21
  • 33
2
votes
0 answers

GWT: dynamic logging disabled by setting gwt-maven-plugin property disableClassMetadata to true

We recently added dynamic logging to our gwt web application. In order to achieve this we added a little javascript function to our webapp.gwt.xml file, which looks for the "?logging" parameter in the URL an returns either true or…
2
votes
1 answer

GWT 2.5.0 mvn install error "Rebind result must be a class"

Problem: I run mvn install on my GWT 2.5.0 project that I built with the gwt-maven-plugin and get the error Rebind result 'c3gw.fwk.gui.client.ClientFactory' must be a class. This is a snippet of my pom.xml:
Thirlan
  • 712
  • 1
  • 8
  • 26
1
vote
1 answer

Maven GWT plugin "failed with status 1" error

Am trying to setup a GWT project using the gwt-maven-plugin but struggling to get this going. Have solve the issues around m2eclispe and lifecycle but am getting errors during build as Maven reports tasks failing with status 1. Any suggestion would…
Kulnor
  • 1,217
  • 1
  • 8
  • 5
1
vote
2 answers

Maven build fails upon compiling widgetset

I am having trouble compiling my widgetset using maven and vaadin. when i run this command: mvn vaadin:update-widgetset install Stack trace [INFO] Scanning for projects... [INFO]…
Warz
  • 7,386
  • 14
  • 68
  • 120
1
vote
1 answer

Different behavior of gwt-maven-plugin in IDE and commandline

I am using the gwt-maven-plugin and since recently I got strange errors in my IDE (eclipse oxygen). After researching it I realize that the gwt-maven-plugin is behaving differently when run in eclipse or on commandline. On commandline everything is…
Lonzak
  • 9,334
  • 5
  • 57
  • 88
1
vote
1 answer

Create a gwt-maven archetype in eclipse

How to create and add a new archetype in eclipse (neon). I want to create gwt maven project in eclipse by selecting a archetype from 'Select a archetype' screen but i could not find the required archetype in the list although i have installed all…
kunal
  • 182
  • 2
  • 14
1
vote
1 answer

Packaging war with new gwt maven plugin (having migrated from default maven plugin)

I've stated using Thomas Broyer's gwt maven plugin as it allows me to run gwt 2.8-rc2. I've got it running with the codeserver fine and with minimum effort. However now I'm trying to figure out how to use it to do a full compile and package. Simply…
Michael Wiles
  • 20,902
  • 18
  • 71
  • 101
1
vote
2 answers

Can't compile GWT app using 2.8.0-SNAPSHOT and Java 8 with gwt-maven-plugin

I am struggling to get my app to compile using GWT 2.8.0-SNAPSHOT and Mojo's gwt-maven-plugin 2.8.0-SNAPSHOT I receive the same compiler errors each time: [INFO] --- gwt-maven-plugin:2.8.0-SNAPSHOT:compile (default) @ UsavAppV7 --- [ERROR] Jul 20,…
slugmandrew
  • 1,776
  • 2
  • 25
  • 45
1
vote
1 answer

How do I disable super dev mode so that I can use my Gwt module in a separate web project

I am building a web module with GWT 2.7.0. I want to copy the generated module folder in my maven output folder i.e. target and refer it in a separate web app. When I try to do so it keeps popping up Couldn't load from server dialog. I added…
Gautam
  • 1,030
  • 13
  • 37
1
vote
1 answer

gwt 2.8 beta1 - trying to invoke a java method from javascript using jsinterop

I am trying to invoke a gwt method from javascript using latest JsInterop - below is the head part of my html