Tuesday, October 25, 2016

Re: GWT Eclipse Plugin and Update Maven Project

Could you file a bug with a maven project I could replicate the issue with? 

The maven configurator should provide the war source, target directory and the GWT nature to Eclipse. If it isn't doing it, I'd like to know why and to do that I need to run the project and check to see if there is something a muck. 

https://github.com/gwt-plugins/gwt-eclipse-plugin

Thanks,
Brandon

On Sunday, October 23, 2016 at 6:23:06 AM UTC-7, Gražvydas Valeika wrote:
 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