GAE + GWT + Maven + Eclipse

Just documenting a few issues I've had in setting up GWT + GAE + Maven + Eclipse.

This is based on the sample "mobilewebapp" that comes with GWT (the version on master as of December 2015).

Eclipse not finding GAE

Eclipse might complain about not being able to find GAE under the ~/.m2/repository folder. To fix this, in the project's build path settings, under the "Order and Export" tab, put the Maven dependencies last.

"Choose war folder" prompt

WARNING: whatever folder you choose here will be deleted!!! When you try to run (as "Web Application (GWT Super Dev Mode)") and it asks you to choose the war folder, choose the target/${artifactId}-${version} folder.

GWT complains about CssResource

You need to add this to your .gwt.xml file:

<set-configuration-property name="CssResource.enableGss" value="true" />
<set-configuration-property name="CssResource.legacy" value="true" />
Tags: 

Comments

Thanks for the information your article brings. I see the novelty of your writing, I will share it for everyone to read together. I look forward to reading many articles from you.

Shroud may whine about not having the capacity to discover GAE under the ~/.m2/vault organizer. To settle this, in the venture's assemble way settings, under the "Request and Export mycourseworkhelp.co.uk tab, set the Maven conditions last.

I want to to thank you for this good read!! I definitely enjoyed every little bit of it.
I have you bookmarked to look at new things you post…

I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work view more

Just needed to record a word so as to express profound gratitude to you for those awesome tips. This is the correct blog for any individual who needs to Homework Writing get some answers concerning this subject. You understand so much its difficult to contend with you.

Add new comment