source: tags/0.18.0/abcl/examples/abcl/README

Last change on this file was 12231, checked in by ehuelsmann, 15 years ago

Google App Engine (GAE) basic Hello World application progress.

Most of the code by Alex Muscar.

File size: 1.4 KB
Line 
1ABCL Examples Building and Running Instructions
2===============================================
3
4code by Ville Voutilainen
5(abcl_appengine code by Alex Muscar)
6instructions by Blake McBride
7updated by Mark Evenson
8
9In general, to compile a Java class file (like Main.java for example
10in the 'java_exception_in_lisp' subdirectory) use:
11
12  cmd$ cd java_exception_in_lisp
13  cmd$ javac  -cp ../../../dist/abcl.jar  Main.java
14
15where the "../../../dist/abcl.jar" represents the path to your
16abcl.jar file, which is built via the Ant based build.  This path
17could be slightly different depending on how the system was
18constructed, and possibly due to operating system conventions for
19specifying relative paths.  However you resolve this locally, we'll
20refer to this as '$ABCL_ROOT/dist/abcl.jar' for the rest of these
21instructions.
22
23This compiles the Java source file "Main.java" into a JVM runtime or
24class file named "Main.class".
25
26To run the example (Main.class for example) from a Unix-like OS use:
27
28  cmd$ java  -cp $ABCL_ROOT/dist/abcl.jar:.  Main
29
30or in Windows use:
31
32  cmd$  java  -cp  $ABCL_ROOT/dist/abcl.jar;.  Main
33
34where "Main" is the initial class to run in your Java program.
35
36
37abcl_appengine
38==============
39
40This example shows how to run your servlet off ABCL in general
41and in Google App Engine (GAE) in particular.
42
43When uploading your code to the server, be sure to put abcl.jar
44in war/WEB-INF/lib.
Note: See TracBrowser for help on using the repository browser.