File: README

package info (click to toggle)
abcl 1.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,064 kB
  • sloc: lisp: 63,756; java: 63,092; xml: 4,300; sh: 409; makefile: 25; awk: 3
file content (59 lines) | stat: -rw-r--r-- 1,530 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Google App Engine
=================

Alex Muscar

Running ABCL in a Google App Engine container.

This example shows how to run your Java servlet off ABCL in general
and in Google App Engine (GAE) in particular.

When uploading your code to the server, be sure to put abcl.jar
in war/WEB-INF/lib.


Running Locally
---------------

1.  Download the [Google App Engine SDK for Java][1], unzipping the
    distribution somewhere on your filesystem
    (e.g. "~/work/appengine-java-sdk-1.4.3").

[1]: http://googleappengine.googlecode.com/files/appengine-java-sdk-1.4.3.zip

2.  Simply invoke Ant on the `build.xml' in this directory with the
    `runserver' target, setting the `sdk.dir' JVM property to specify
    the location of the SDK.

        unix$ ant -Dsdk.dir=$HOME/work/appengine-java-sdk-1.4.3/ runserver

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
    application.

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.