[asdf-devel] Package definition for each file in :components?

Matus Kmit simply.nitaai at gmail.com
Mon Jun 27 21:00:21 UTC 2011

Strange, it seems to be working now: one package, two files. i must
have been doing a mistake somewhere else...

Thanks anyway and sorry for the confusion :-)

On Mon, Jun 27, 2011 at 1:42 PM, Zach Beane <xach at xach.com> wrote:
> Matus Kmit <simply.nitaai at gmail.com> writes:
>> Hi
>> 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
>> purpose.
>> 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.
> Zach

More information about the asdf-devel mailing list