Changeset 12722 for trunk


Ignore:
Timestamp:
05/23/10 06:16:50 (13 years ago)
Author:
Mark Evenson
Message:

Examples reorganization: Top-level README, GAE specific README.

Location:
trunk/abcl/examples
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/examples/README

    r12718 r12722  
    1 ABCL Examples Building and Running Instructions
    2 ===============================================
     1ABCL Examples
     2=============
    33
    4 code by Ville Voutilainen
    5 (abcl_appengine code by Alex Muscar)
    6 instructions by Blake McBride
    7 updated by Mark Evenson
    8 
    9 In general, to compile a Java class file (like Main.java for example
    10 in 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 
    15 where the "../../../dist/abcl.jar" represents the path to your
    16 abcl.jar file, which is built via the Ant based build.  This path
    17 could be slightly different depending on how the system was
    18 constructed, and possibly due to operating system conventions for
    19 specifying relative paths.  However you resolve this locally, we'll
    20 refer to this as '$ABCL_ROOT/dist/abcl.jar' for the rest of these
    21 instructions.
    22 
    23 This compiles the Java source file "Main.java" into a JVM runtime or
    24 class file named "Main.class".
    25 
    26 To 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 
    30 or in Windows use:
    31 
    32   cmd$  java  -cp  $ABCL_ROOT/dist/abcl.jar;.  Main
    33 
    34 where "Main" is the initial class to run in your Java program.
     4Contributions from:
     5  Ville Voutilainen, Alex Muscar, Blake McBride, and Mark Evenson
    356
    367
    37 abcl_appengine
    38 ==============
     8google-app-engine
     9                 
     10   This example shows how to run a ABCL in a Java Servlet context in
     11   general and in Google App Engine (GAE) in particular.
    3912
    40 This example shows how to run your servlet off ABCL in general
    41 and in Google App Engine (GAE) in particular.
    4213
    43 When uploading your code to the server, be sure to put abcl.jar
    44 in war/WEB-INF/lib.
     14java-exception
     15
     16   Handling Java exceptions with the Lisp condition system.
     17
     18
     19java-interface
     20
     21   Implementing a Java interface with Lisp.
     22
     23
     24java-to-lisp-1
     25
     26   Simple examples of calling Lisp from Java.
     27
     28
     29java-to-lisp-2
     30
     31   More involved example of calling Lisp from Java including
     32   parameters and return values.
     33
     34
     35jsr-223
     36
     37   Using the implementation of the JSR-223 interface to use Common
     38   Lisp as a pluggable scripting language on the JVM.
     39
     40
     41lisp-to-java
     42
     43   Calling Java code from Lisp.
     44
     45
     46misc
     47
     48   Code snippets currently without documentation.
Note: See TracChangeset for help on using the changeset viewer.