[asdf-devel] Package definition for each file in :components?
xach at xach.com
Mon Jun 27 11:42:10 UTC 2011
Matus Kmit <simply.nitaai at gmail.com> writes:
> i have some basic question:
> Let's say, i have defined a system where with four files: system.asd,
> packages.lisp, file1.lisp, file2.lisp, where file1 and file2 share the
> same package and are split more or less only for better organisation
> So in packages.lisp i define only one package and use the respective
> in-package expression for it in the beginning of the two files.
> Besides that file1 should be loaded before file2.
> In my asd file i have something like this:
> (defsystem "system"
> :depends-on ("ext-system")
> :serial t
> :components ((:file "packages")
> (:file "file1")
> (:file "file2")))
> Trying to load this system with (ql:quickload "system") i get an
> error, that there is no package for file1.
Your .asd file looks good. Please also paste your package.lisp,
file1.lisp, and the exact error you get when trying to load.
More information about the asdf-devel