gwt-plugins / gwt-plugins/gwt-eclipse-plugin

GWT Eclipse Plugin and Update Maven Project

Open
#310 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
117
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Hi,

there is minimal project which reproduces behavior described below. Project is empty. All dependencies are removed, but project pom file, except dependencies is unchanged from real project. It compiles with maven. When it is imported into eclipse, it recognizes module as Web application and GWT module.
Initially "This project has WAR directory" is checked, and "Launch and deploy from this directory (disabled because this is a Maven project)" is unchecked, but enabled. If I check this checkbox, setting lasts only until I refresh project with "Update Maven Project". After update this checkbox becomes unchecked.

from mailing list(https://groups.google.com/forum/#!topic/google-web-toolkit/c9AD8XZC1pw):

I observe one problem of GWT Eclipse Plugin(3.0.0.201610212207) when using it with maven project.

Debugging works very well.

But:
- my project contains WAR directory, and GWT project setting "This project has WAR directory" (src/main/webapp) is checked.
- GWT debug configuration arguments contain -war ...../src/main/webapp.
- when I check GWT project setting "Launch and deploy from this directory (disabled because this is a Maven project)" - everything works perfectly.

Problem occurs when I Update Maven Project (Alt+F5).

Then GWT project setting "Launch and deploy from this directory (disabled because this is a Maven project)" is unchecked and more unpleasant - when launching debugger something cleans this directory - removes web.xml, static resources etc.

[ttt.zip](https://github.com/gwt-plugins/gwt-eclipse-plugin/files/551587/ttt.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.