Re: ASDF bug?
Rudi Schlatte <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
On 4. Nov 2004, at 17:22, [email protected] wrote: >> The commonly quoted method to handle non ".lisp" cl source file types >> with ASDF is: > >> (defmethod source-file-type ((c cl-source-file) >> (s (eql (find-system "foo)))) >> "cl") > > This doesn't work for me because I might have mixed extensions within > a single project. For example, the project that threw this error in > the first place uses a file that I got from Franz that has a ".cl" > extension, along with my own files, which I habitually give ".lisp" > extensions. I don't really care whether what exactly the stock > behavior is, but I think there really ought to be support for multiple > extensions within a single project. The modest suggestion I made > previously seems like a small patch to allow this reasonable extension > to the stock system. You can give a :pathname argument to each individual file, which will be merged with the parent pathname (see the method component-relative-pathname for class source-file). Granted, this makes you type the filename twice ... HTH, Rudi
PGP.sig
(application/pgp-signature, 186 B) - not displayed