ASDF resolve-symlinks when *load-truename* is nil.
"Erik Enge" <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I was wondering if it made sense to add an ASSERT in RESOLVE-SYMLINKS which made sure path was a pathname and hinted to the user that they are probably not LOADing the defsystem like they should? Or perhaps checking for nil would be better. Or maybe moving it into defsystem to check there, I don't know. If there's support for this I'll write a patch for whichever way you prefer. Something like: (defun resolve-symlinks (path) (assert (pathnamep path) () "defsystems must be LOADed from a file, it looks like you are EVAL'ing a defsystem form.") #-allegro (truename path) #+allegro (excl:pathname-resolve-symbolic-links path) ) Thanks, Erik. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642