Ignore:
Timestamp:
04/11/11 05:51:36 (13 years ago)
Author:
Mark Evenson
Message:

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

Location:
trunk/abcl/examples/google-app-engine
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/examples/google-app-engine/README

    r13264 r13266  
    3131
    3232
     33Deploying to GAE
     34----------------
     35
     361.  To deploy the included example to GAE, you need to first obtain a
     37    GAE account, and pick a GAE application id to use with the
     38    application.
     39
     402.  Then you need to edit 'war/WEB-INF/appengine-web.xml' to specify
     41    this application.  Just replace the contents of the <applciation>
     42    tag (initially 'GAE-APPLICATION-ID-GOES-HERE') in the file with
     43    your GAE ID.
     44
     453.  Then the Ant task 'update' should upload your application to GAE:
     46
     47        unix$ ant update
     48
     49    You will be prompted for the Google Account credentials associated
     50    with the application ID.
     51
     52   
     53
     54         
    3355
    3456
    3557
    3658
     59
  • trunk/abcl/examples/google-app-engine/build.xml

    r13265 r13266  
    2727        todir="war/WEB-INF/lib"
    2828        flatten="true">
     29      <!--
    2930      <fileset dir="${sdk.dir}/lib/user">
    3031        <include name="**/*.jar" />
    3132      </fileset>
     33      -->
    3234      <fileset dir="${abcl.dir}">
    3335        <include name="dist/*.jar" />
     
    9193  </target>
    9294
    93   <target name="runserver-debug" depends="compile,resources.copy"
     95  <target name="runserver-debug" depends="compile"
    9496    description="Starts the development server.">
    9597    <dev_appserver war="war" port="8888"/>
    9698  </target>
     99 
     100  <target name="update" depends="compile"
     101          description="Uploads the application to App Engine.">
     102    <appcfg action="update" war="war" />
     103  </target>
     104   
    97105</project>
  • trunk/abcl/examples/google-app-engine/war/WEB-INF/appengine-web.xml

    r12231 r13266  
    11<?xml version="1.0" encoding="utf-8"?>
    22<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
    3   <application>abcl-test</application>
    4   <version>1</version>
     3  <application>GAE-APPLICATION-ID-GOES-HERE</application>
     4  <version>1</version>
    55</appengine-web-app>
Note: See TracChangeset for help on using the changeset viewer.