All Manuals > Delivery User Guide

15 Self-contained examples of delivery

This chapter enumerates the set of examples in the LispWorks library which illustrate how to deliver a runtime.

See README.txt files in the sub-directories for instructions. To view the example code and the README.txt file, open the file in the Editor tool in the LispWorks IDE. Evaluating the calls to example-edit-file shown below will achieve this.

Note: In the README.txt files, "Use x as delivery script" (when x is a file name) means you can do one of the following:

15.1 Delivering a Cocoa CAPI application examples

These files illustrate building Cocoa applications on macOS, using templates to create the application bundle:

(example-edit-file "delivery/macos/README.txt")
(example-edit-file "delivery/macos/single-window-application")
(example-edit-file "delivery/macos/multiple-window-application")

15.2 Delivering a CAPI application examples

These files illustrate building a CAPI "Hello World" application:

(example-edit-file "delivery/hello/README.txt")
(example-edit-file "delivery/hello/deliver")
(example-edit-file "delivery/hello/hello")

These files illustrate building a CAPI application which plays the Othello game:

(example-edit-file "delivery/othello/README.txt")
(example-edit-file "delivery/othello/deliver")
(example-edit-file "capi/applications/othello")

These files illustrate building a CAPI application with error handling:

(example-edit-file "delivery/debugger-hook/README.txt")
(example-edit-file "delivery/debugger-hook/application-with-errors")
(example-edit-file "delivery/debugger-hook/deliver")

15.3 Delivering a dynamic library examples

These files illustrate building a dynamic library on Unix-like platforms:

(example-edit-file "delivery/dynamic-library/README.txt")
(example-edit-file "delivery/dynamic-library/example")
(example-edit-file "delivery/dynamic-library/deliver")

These files illustrate building a dynamic library to load into Java:

(example-edit-file "java/lisp-as-dll/README.txt")
(example-edit-file "java/lisp-as-dll/LispWorksCaller.java")
(example-edit-file "java/lisp-as-dll/deliv-script")

15.4 Delivering a Windows service examples

These files illustrate creating a service on Microsoft Windows:

(example-edit-file "delivery/ntservice/README.txt")
(example-edit-file "delivery/ntservice/define-service")
(example-edit-file "delivery/ntservice/deliver")
(example-edit-file "delivery/ntservice/build-config")
(example-edit-file "delivery/ntservice/testapp-lw-test")
(example-edit-file "delivery/ntservice/ntservice")
(example-edit-file "delivery/ntservice/testapp-lw")

Delivery User Guide - 01 Dec 2021 19:35:07