Add an 'update' task to upload application to GAE.

parent 576e1eda
......@@ -30,6 +30,29 @@ Running Locally
3. Visit `http://localhost:8080/hello' in a web browser to see the example run.
Deploying to GAE
1. To deploy the included example to GAE, you need to first obtain a
GAE account, and pick a GAE application id to use with the
2. Then you need to edit 'war/WEB-INF/appengine-web.xml' to specify
this application. Just replace the contents of the <applciation>
tag (initially 'GAE-APPLICATION-ID-GOES-HERE') in the file with
your GAE ID.
3. Then the Ant task 'update' should upload your application to GAE:
unix$ ant update
You will be prompted for the Google Account credentials associated
with the application ID.
......@@ -26,9 +26,11 @@
<fileset dir="${sdk.dir}/lib/user">
<include name="**/*.jar" />
<fileset dir="${abcl.dir}">
<include name="dist/*.jar" />
......@@ -90,8 +92,14 @@
<dev_appserver war="war" />
<target name="runserver-debug" depends="compile,resources.copy"
<target name="runserver-debug" depends="compile"
description="Starts the development server.">
<dev_appserver war="war" port="8888"/>
<target name="update" depends="compile"
description="Uploads the application to App Engine.">
<appcfg action="update" war="war" />
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment