Prerequisites: install Java 6, Google App
Engine, Mercurial, and Maven. You may need to
cd [someDirectory] hg clone https://code.google.com/p/google-api-java-client.samples/ google-api-java-client-samples cd google-api-java-client-samples/urlshortener-robots-appengine-sample mvn clean package
To enable logging of HTTP requests and responses (highly recommended when developing), please take a look at logging.properties.
To run your application locally on a development server:
To deploy your application to appspot.com:
If this is the first time you are deploying your application to appspot.com, you will to perform the following steps first.
If you've done the above, you can deploy at any time:
If this is the first time you have run "update" on the project, a browser window will open prompting you to log in. Log in with the same Google account the app is registered with.
Prerequisites: install Eclipse, Google Plugin for Eclipse, and the Mercurial plugin.
[someDirectory]/google-api-java-client-samples/urlshortener-robots-appengine-sampleand click "Next"