A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/IDE-U/html/ide-u-227.htm below:

30.2 Preparing to build your application

The delivery script is a Lisp source file, which at a minimum loads patches and your application code, and then calls deliver. The script may do other things, such as configuring your application, though in general you should try to keep it as simple as possible.

30.2.1.1 Using your existing delivery script

If you already have an appropriate delivery script (because you already delivered your application before), click the button to the right of the Build script pane and select your script file. The Application Builder now displays the path to your script in its Build script pane.

30.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 in the Application Builder toolbar.
  2. 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 button to locate the file.
  4. Enter the deliver arguments.
  5. 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 .

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

Figure 30.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)

Note: your delivery script should load all the code needed for the application. Do not rely on your personal initialization or siteinit files (which are ordinarily loaded into LispWorks), because these initialization files will not be used when building the application.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4