Afaik gwt:devmode is launching a GWT Jetty, rather than the GAE Jetty.
As you say: for IDE debugging: we need a Remote Java Application & jvmFlags, discussed at length here:
https://stackoverflow.com/questions/138511/what-are-java-command-line-options-to-set-to-allow-jvm-to-be-remotely-debuggedsomeone says:
For Java 5 and above, run it with:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1044
rather than
Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=n
I havent tried this yet.
With this setup the dev GAE server uses the cloud datastore (& blobstore I think).
To fix, in the gloud CLI app run:
gcloud components install cloud-datastore-emulator
If you didnt install beta commands, it will prompt for that.
cloud-datastore-emulator 2.3.1
before launch of GAE server run:
gcloud beta emulators datastore start --project='prjname' --host-port=localhost:8081 --data-dir=C:\Users\tim_m\eclipse-workspace\Snptn\Snptn-server\src\main\webapp
Set environment variable in the eclipse launch to attach this DATASTORE_EMULATOR environment
Last time I looked: the local datastore viewer cant show objectify entities, only blobstore files.
Re copying src/main/webapp files to the target folder: afaik that is done by
maven-jar-plugin jar goal (jar:jar) which is invoked by calling package (phase)
Btw I often read that the tbroyer multi-project pattern is better because it keeps server & client dependencies separated, but its a more complex pattern.
Re the poms I attached here: 1 problem is inconsistencies in:
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>