Re: Defining multiple ASDF systems in the same .asd file

Rudi Schlatte <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
On 7. Dez 2005, at 14:49, Paolo Amoroso wrote:

> 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:
>
> Is this the recommended way of defining multiple systems?  Does each
> system require a separate .asd file?

You can symlink your .asd file multiple times under all the names you  
wish it to be found.  (asdf does not try to parse each and every .asd  
file it finds when it goes looking for a system that is not known  
yet. Once the defsystem form for your system2 has been evaluated,  
there's no need to look for a .asd file again.)

For your example, I'd recommend symlinks
~/asdf-registry/myapp-system.asd ==> ~/src/myapp-system.asd
~/asdf-registry/system1.asd ==> ~/src/myapp-system.asd
etc.

Rudi
PGP.sig (application/pgp-signature, 186 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.