The tutorial page at 
http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html
has no reference for the needed datastore-indexes.xml file.  When
uploading the code as described to App Engine, the code throws an
error:
com.google.appengine.api.datastore.DatastoreNeedIndexException: no
matching index found.

To avoid this, a datastore-indexes.xml file needs to be created
referencing something to the tune of:
<datastore-index kind="Stock" ancestor="false" source="auto">
  <property name="user" direction="asc"/>
  <property name="createDate" direction="asc"/>
</datastore-index>

Additionally, once this is uploaded, the user should be reminded to
wait for the index status to change to "Serving" on the Datastore
Indexes dashboard, or the code will throw an exception:
com.google.appengine.api.datastore.DatastoreNeedIndexException: The
index for this query is not ready to serve.


Thanks,
Curtis

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to