Open the file
in an editor and make sure that it contains the following:
<datastore-indexes> <datastore-index kind="Greeting" ancestor="true" source="manual"> <property name="date" direction="desc"/> </datastore-index> </datastore-indexes>
Typically, you have to change
Change directory to
guestbook, and invoke Maven as follows:
The first time you upload, you'll be prompted to supply login information and you will be led through the login process via the browser. Follow the prompts. You may need to copy the success code from the browser into the command line at the end of the login process. (This information is remembered after you do it once.)
Wait for the upload to complete. If the upload succeeds, you'll see a message similar to this one:
... 98% Uploading index definitions. Update for module default completed successfully. Success. Cleaning up temporary files for module default...
In your browser, visit the url
https://<project-ID>.appspot.com to run the
application hosted on App Engine, replacing
<project-ID> with your project ID.
That's it! You have completed this tutorial.