Re: ASDF bug?

[email protected]
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>

 > Seems like the reply address in your post ([email protected])
 > doesn't quite work. Perhaps, though, you've seen my reply already
 > from the mail list.

Kevin,

Huge is inside the firewall, so it doesn't take mail. The reply to
header should have been just "[email protected]" even though the "from" has
the real (invisible to the outside world) host.  I should probably
update the MX record, but this is a rare problem.   We'll see if I
fixed it for this message.

> >   (mapcar (lambda (file) (or (file-write-date file) 0)))
 
> That"d be reasonable. Perhaps that"d also a location where it"d be
> appropriate to signal an error that an requisite file is missing.

I wouldn't signal a missing file error if file-write-date comes back
nil, since there might be other reasons other than a missing file that
file-write-date returns nil (at least that would be compatible with
the spec). It might be worth signaling an error about being unable to
determine the file write date, though, since you're probably out of
luck if ASDF can't figure that out.

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

Larry


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