LispWorks IDE User Guide > 29 The Application Builder > 29.2 Preparing to build your application > 29.2.1 The script

NextPrevUpTopContentsIndex

29.2.1.2 Creating a new delivery script

Suppose that you already have a file compile-and-load-my-app.lisp that you use to compile and load your application. Then you can create a suitable delivery script with the help of the Application Builder.

To create the new delivery script:

  1. Choose Build > Make a New Script or click
  2. in the Application Builder toolbar.

    This displays a dialog as shown in The New Delivery script dialog.

  3. Enter the path to compile-and-load-my-app.lisp in the Loading script pane. You can use the
  4. button to locate the file.
  5. Enter the deliver arguments.
  6. Note: Level defaults to 0, which is a good choice the first time you deliver your application. You will probably want to increase the Delivery level later, for reasons explained in the LispWorks Delivery User Guide .

  7. Check the calculated Script Name (and modify it if desired), and click OK .

Figure 29.2 The New Delivery script dialog

The Application Builder now displays the path to the new script in its Build script pane. The new script will load patches, load your file, and then call deliver , something like this:

   (in-package "CL-USER")
   (load-all-patches)
   (load "compile-and-load-my-app")
   (deliver 'my-start-function "my-app" 0)

LispWorks IDE User Guide (Unix version) - 22 Dec 2009

NextPrevUpTopContentsIndex