Sunday, October 23, 2016

GWT Eclipse Plugin and Update Maven Project

 Hi,

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.

What is proper way to mitigate this?


Thanks, 


Gražvydas

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment