GAE/GWT SDK update nightmares
Each time I update the AppEngine/GWT SDK, I get troubles...here are some tips.
- Make sure .classpath has the following:
<classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/> <classpathentry kind="con" path="com.google.appengine.eclipse.core.GAE_CONTAINER"/>
- If you're doing some unit testing, create a GAE_SDK variable that points to the updated SDK. You should have (google documentation). you can ignore the warning on these libs not present in the server (QuickFix on the warning)
<classpathentry kind="var" path="GAE_SDK/lib/testing/appengine-testing.jar"/> <classpathentry kind="var" path="GAE_SDK/lib/impl/appengine-api-labs.jar"/> <classpathentry kind="var" path="GAE_SDK/lib/impl/appengine-api-stubs.jar"/> <classpathentry kind="var" path="GAE_SDK/lib/impl/appengine-api.jar"/>If
- Make sure jar in war/WEB-INF/lib are updated. If not create a dummy project and copy the jars needed.