Defining multiple ASDF systems in the same .asd file
Paolo Amoroso <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Organization | Paolo Amoroso - Milano, ITALY |
| Message-ID | <[email protected]> |
Suppose I have an application that defines multiple ASDF systems in
the same .asd file, like this, some of which depend on one of the
others:
(defpackage #:myapp-system
(:use #:cl #:asdf))
(in-package #:myapp-system)
(defsystem system1
:components (...))
(defsystem system2
:depends-on (system1)
:components (...))
When I try to directly load system2 with the form:
(asdf:operate 'asdf:load-op :system2)
I get an error stating that system2 is not found. But everything
works fine if I load system1 first, and then system2.
Am I doing anything wrong? I install ASDF-based applications on my
Linux box as explained in section "How it's used - personal lisp
installations" of:
ASDF System
http://www.cliki.net/ASDF%20System
Is this the recommended way of defining multiple systems? Does each
system require a separate .asd file?
Paolo
--
Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click