Re: ASDF bug?

Christophe Rhodes <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
[email protected] writes:

> 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. 

Catering for this internally to your project is only marginally more
work:

(defclass franz-cl-source-file (cl-source-file) ())
(defmethod source-file-type ((f franz-cl-source-file) s)
  "cl")

Now make your files be instances of cl-source-file and the ones you
got from Franz instances of franz-cl-source-file.

Cheers,

Christophe


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
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.