From: Kevin M. Rosenberg Date: Mon, 7 Jun 2004 13:29:47 +0000 (+0000) Subject: r9562: document improved loading procedure X-Git-Tag: v3.8.6~327 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=f7a5a676fd4af59c34329c6eaab8b718231b427b r9562: document improved loading procedure --- diff --git a/doc/intro.xml b/doc/intro.xml index 4098df6..a717241 100644 --- a/doc/intro.xml +++ b/doc/intro.xml @@ -191,7 +191,7 @@ - Load &uffi; + Add &uffi; path Unzip or untar the &uffi; distribution which creates a directory for the &uffi; files. Add that directory to &asdf;'s asdf:*central-registry*. @@ -201,12 +201,11 @@ directory. (push #P"/usr/share/lisp/uffi/" asdf:*central-registry*) -(asdf:operate 'asdf:load-op :uffi) - Load &md5; module + Add &md5; path If you plan to use the clsql-postgresql-socket interface, you must load the md5 module. Unzip or untar the cl-md5 @@ -218,13 +217,12 @@ /usr/share/lisp/cl-md5/ directory. (push #P"/usr/share/lisp/cl-md5/" asdf:*central-registry*) -(asdf:operate 'asdf:load-op :md5) - Load &clsql; modules + Add &clsql; path and load module Unzip or untar the &clsql; distribution which creates a directory for the &clsql; files. Add that directory to &asdf;'s @@ -232,28 +230,23 @@ pushing the pathname of the directory onto this variable. The following example code assumes the &clsql; files reside in the /usr/share/lisp/clsql/ directory. You need - to load, at a minimum, the main clsql system - and at least one interface system. The below example show loading - all &clsql; systems. + to load the clsql system. (push #P"/usr/share/lisp/clsql/" asdf:*central-registry*) (asdf:operate 'asdf:load-op 'clsql) ; main CLSQL package -(asdf:operate 'asdf:load-op 'clsql-mysql) ; MySQL interface -(asdf:operate 'asdf:load-op 'clsql-postgresql) ; PostgreSQL interface -(asdf:operate 'asdf:load-op 'clsql-postgresql-socket) ; Socket PGSQL interface -(asdf:operate 'asdf:load-op 'clsql-odbc) ; ODBC interface -(asdf:operate 'asdf:load-op 'clsql-sqlite) ; SQLite interface -(asdf:operate 'asdf:load-op 'clsql-aodbc) ; Allegro ODBC interface - Run test suite + Run test suite (optional) - After loading &clsql;, you can execute the test suite. A - configuration file named + The test suite can be executed using the &asdf; + test-op operator. If &clsql; has not been + loaded with asdf:load-op, the + asdf:test-op operator will automatically load + &clsql;. A configuration file named .clsql-test.config must be created in your home directory. There are instructures on the format of that file in the tests/README. After