gwt-maven-plugin

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

我只是一个虾纸丫 提交于 2019-12-05 21:27:48
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 dev mode, I have to manually copy the html files to the target directory each time for the dev mode to

Error installing Maven Integration for Eclipse WTP

寵の児 提交于 2019-12-05 10:23:38
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.feature.feature.group 0.12.0.20110421-1500) Missing requirement: Maven Integration for WTP (Optional) 0.12.0

GWT maven compiler output directory

旧时模样 提交于 2019-12-04 13:45:50
问题 I need to set output directory location for GWT compiler using maven plugin. I've investigated the GWT compiler and gwt-maven-plugin docs and did not find any options for this. For example: I have two modules named editor and console and gwt-maven-plugin compiles them to %ROOT%/editor and %ROOT%/console dirs. But I need to have these modules compiled into %ROOT%/ria/editor and %ROOT%/ria/console dirs to reduce effort to maintain the URL based security and other stuff. Is it possible to set

GWT maven compiler output directory

人盡茶涼 提交于 2019-12-03 07:47:11
I need to set output directory location for GWT compiler using maven plugin. I've investigated the GWT compiler and gwt-maven-plugin docs and did not find any options for this. For example: I have two modules named editor and console and gwt-maven-plugin compiles them to %ROOT%/editor and %ROOT%/console dirs. But I need to have these modules compiled into %ROOT%/ria/editor and %ROOT%/ria/console dirs to reduce effort to maintain the URL based security and other stuff. Is it possible to set ria directory in plugin configuration to avoid unneeded new ANT task creation for moving compiled modules

gwt-maven-plugin: Compile fails “with status 1”

早过忘川 提交于 2019-12-02 10:36:27
问题 I've been working on a GWT project for a while, and I believe since I've added new dependencies, I get the error below. Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.6.1:compile (default) on project project: Command [[ /bin/sh -c /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java -Xmx512m -classpath /home/user/git/project/target/project-0.0.1-SNAPSHOT/WEB-INF/classes:/home/user/.m2/repository/A.jar:/home/user/.m2/repository/B.jar:... a lot more dependencies ... com.google.gwt.dev

gwt-maven-plugin: Compile fails “with status 1”

跟風遠走 提交于 2019-12-02 06:57:14
I've been working on a GWT project for a while, and I believe since I've added new dependencies, I get the error below. Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.6.1:compile (default) on project project: Command [[ /bin/sh -c /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java -Xmx512m -classpath /home/user/git/project/target/project-0.0.1-SNAPSHOT/WEB-INF/classes:/home/user/.m2/repository/A.jar:/home/user/.m2/repository/B.jar:... a lot more dependencies ... com.google.gwt.dev.Compiler -logLevel INFO -style OBF -war /home/user/git/project/target/project-0.0.1-SNAPSHOT -localWorkers

GWT. Maven. GWT Module <module_name> not found in project sources or resources

…衆ロ難τιáo~ 提交于 2019-12-01 06:35:59
I have a maven multi-module project. One of this modules (compiled as .jar ) contains only domain objects, which will be used at client and server sides (I add this .jar as dependency to other my modules). I know that GWT module, where will be used objects from shared .jar , must also have source files for successful compilation. So I tried to add to my pom.xml both: <resources> <resource> <directory>src/main/java/<path></directory> <includes> <include>**/*.java</include> <include>**/*.gwt.xml</include> </includes> </resource> </resources> and <plugin> <groupId>org.codehaus.mojo</groupId>

GWT. Maven. GWT Module <module_name> not found in project sources or resources

核能气质少年 提交于 2019-12-01 04:48:34
问题 I have a maven multi-module project. One of this modules (compiled as .jar ) contains only domain objects, which will be used at client and server sides (I add this .jar as dependency to other my modules). I know that GWT module, where will be used objects from shared .jar , must also have source files for successful compilation. So I tried to add to my pom.xml both: <resources> <resource> <directory>src/main/java/<path></directory> <includes> <include>**/*.java</include> <include>**/*.gwt

GWT 2.7 + GAE app looks for codeserver when deployed

孤街浪徒 提交于 2019-11-30 20:04:00
Why does appengine try to use Super Dev Mode? Every time I deploy my GWT app to appengine and try to access it I get the white loading screen, then after about 20-30 seconds I get this message: I use maven with the gwt-maven-plugin and appengine-maven-plugin . Deploying using the maven-gae-plugin gives the same results. If I switch back to using 2.6.1 versions of gwt and the gwt-maven-plugin it deploys ok, so it would seem it's something to do with the automatic dev mode launcher. Some of my pom.xml <build> <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory> <resources>

GWT 2.7 + GAE app looks for codeserver when deployed

扶醉桌前 提交于 2019-11-30 03:27:54
问题 Why does appengine try to use Super Dev Mode? Every time I deploy my GWT app to appengine and try to access it I get the white loading screen, then after about 20-30 seconds I get this message: I use maven with the gwt-maven-plugin and appengine-maven-plugin. Deploying using the maven-gae-plugin gives the same results. If I switch back to using 2.6.1 versions of gwt and the gwt-maven-plugin it deploys ok, so it would seem it's something to do with the automatic dev mode launcher. Some of my