gwt-maven-plugin

How enable production mode in GWT 2.7 application

亡梦爱人 提交于 2020-01-02 18:07:21
问题 I would like to deploy my GWT 2.7 application on my server through gwt-maven-plugin and jenkins. But, after compile process, when I launch my application, I've this error message : Couldn't load APPLICATION_NAME from Super Dev Mode server at http://MY_IP:9876. Please make sure this server is ready. Indeed, the super dev mode is enabled by default since 2.7. So, how disable it to use production mode ? 回答1: Ok thank you very much for your comment. Indeed, my problem concerned the *.nocache.js

How enable production mode in GWT 2.7 application

喜夏-厌秋 提交于 2020-01-02 18:05:31
问题 I would like to deploy my GWT 2.7 application on my server through gwt-maven-plugin and jenkins. But, after compile process, when I launch my application, I've this error message : Couldn't load APPLICATION_NAME from Super Dev Mode server at http://MY_IP:9876. Please make sure this server is ready. Indeed, the super dev mode is enabled by default since 2.7. So, how disable it to use production mode ? 回答1: Ok thank you very much for your comment. Indeed, my problem concerned the *.nocache.js

GWT Maven - webapp files getting deleted when running in dev mode

旧巷老猫 提交于 2020-01-02 07:13:54
问题 As specified in the gwt maven mojo plugin documentation, I have selected src/main/webapp folder as my war directory in eclipse->project properties->Google->Web application. Then, when I tried to run my gwt project in dev mode from eclipse, the html files in webapp folder was getting deleted. After some investigation, I was able to fix this by modifiying -war value in run configuration to the target folder of the project. But the problem I am facing now is that, after running the project in

GWT Maven Plugin — gwt:run works but gwt:compile doesn't. Why?

此生再无相见时 提交于 2020-01-01 05:50:28
问题 I'm using gwt-maven-plugin to manage a GWT project. I use the gwt:run goal all the time to run locally in "dev mode" for testing. I now want to compile my project into a war for deployment on Tomcat. When I run gwt:compile , however, I get compile errors that indicate a classpath configuration issue. An example: Finding entry point classes [ERROR] Errors in 'shared.MyClass.java' [ERROR] Line 4: The import server.model.MyObject cannot be resolved Any ideas? Do I need to manually add the server

GWT compiler option to see generated files from custom generator with gwt maven plugin

前提是你 提交于 2019-12-24 13:02:21
问题 points out the -gen argument to compiler As pointed out in the above post I added the gen flag by modifying my gwt maven plugin configuration like this <gen>genSource</gen> Funny thing it does write the generated classes but only the gwt core generator classes. none of my own custom generator classes output is written into it. Any clues as to what could be wrong ? 回答1: To do this, I am assuming you are using Eclipse with GWT plugin. right click on Gwt project Run As->Run Configuration, Select

Error installing Maven Integration for Eclipse WTP

橙三吉。 提交于 2019-12-22 06:38:02
问题 I am trying to install the gwt-maven-plugin for Eclipse Indigo 3.7.2 (running on Ubuntu), following the instructions here: http://uptick.com.au/content/getting-started-gwt-maven-and-eclipse However, when I get to the step to install "Maven Integration for Eclipse WTP", I get the following error: Cannot complete the install because one or more required items could not be found. Software being installed: Maven Integration for WTP (Optional) 0.12.0.20110421-1500 (org.maven.ide.eclipse.wtp

Is It Possible to Set the user.agent Property from the Command Line Using the GWT-Maven-Plugin?

蓝咒 提交于 2019-12-13 14:07:21
问题 I know that in my *.gwt.xml file I can specify the browsers I want the GWT compiler to compile my app for by adding this to it: <set-property name="user.agent" value="opera,ie8, gecko1_8, safari, ie9"/> Is it possible for me to set this property on the command line when I build my project through maven? I'd like to be able to do something like this when I'm developing locally on my machine: mvn clean install -Duser.agent="opera,ie8" 回答1: EDIT: Starting with GWT 2.7, you can now pass a

How to deploy GWT App to Google App Engine?

一世执手 提交于 2019-12-12 03:35:00
问题 I am using gwt-maven-archetypes and I have the problem that I can't recall how I can deploy my application to the Google App Engine. It's been a while since I did this last time. I can remember that there is a command line tool that I have to use since the GWT Plugin for Eclipse does not work with the gwt-maven-archetypes or something like that. 回答1: Use a GAE Archetype and then use "Deploy to App Engine..." from the plugin menu; see this answer. You might also be able to mark your current

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

▼魔方 西西 提交于 2019-12-11 08:15:31
问题 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 running maven install (I expected this to work as it does work with the default) does not actually run the gwt compile. Then it talks about various packaging formats etc and I'm not sure why these are necessary? I assume someone has got this plugin

How enable production mode in GWT 2.7 application

家住魔仙堡 提交于 2019-12-06 08:17:21
I would like to deploy my GWT 2.7 application on my server through gwt-maven-plugin and jenkins. But, after compile process, when I launch my application, I've this error message : Couldn't load APPLICATION_NAME from Super Dev Mode server at http://MY_IP:9876. Please make sure this server is ready. Indeed, the super dev mode is enabled by default since 2.7. So, how disable it to use production mode ? Ok thank you very much for your comment. Indeed, my problem concerned the *.nocache.js and *.devmode.js files. I started my project (my first one in GWT) in 2.6 version and these files were