Hi folks,after all those years I've decided to start migrating our GWT / App Engine (standard) projects from Ant to Maven.The main app consists of several GWT libraries and multiple modules.I'd also like to split the monolithic app into several "microservices" running on App Engine (frontend and backend).Problem is that I've not used maven much in the past so there is a lot of new stuff to learn.
I've Googled a bit in the last days to get the big picture, but I did not find any tutorials how to put it all together.So I though it would be a good idea to try to collect as much info from the experts as possible and write down a tutorial for others facing the same situation.What I did so far:I've created a maven parent project as I thought it may be a good idea to have a child project for each app engine module / service.
I've added the first maven module (frontend) and created an empty project from the appengine standard archetype.I tried to add the gwt maven plugin to this project, but I had no clue how to do that.I copy/pasted the definitions from here into the pom:
When runningmaven gwt:compileI just get this error:[WARNING] Error: Could not find or load main class com.google.gwt.dev.CompilerAny ideas?
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/-7o22adLgls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsub...@googlegroups.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
As I test I just created a blank test project from the archetype.I did not manage to run it either using "maven gwt:devmode".Is there some additional configuration required to tell the plugin where to find the webapp?The server launches just fine, an ancient swing window pops up, but the index.html is not there when going to 127.0.0.1:8888Any ideas?
I've been trying to create a gwt-lib that contains some static web resources (fonts, css, ...) to be used in depending projects.Where should I place these files? They used to be in the "public" directory on the same level as client/server/shared in the old days when there way just a single project layout.I'd like to find them in the resulting war when declaring the library as a dependency.Is this still possible or do I have to replicate the static web resources in each project that requires the gwt-lib?
Thanks, that was the missing info I was looking for (just checked the maven-plugin help etc.)!!What is the recommended setup nowadays when using Eclipse?Is it recommended to use the Eclipse plugin(s) for GWT/GAE or is it better to run everything from the command line?