Current path for system
This is a common practice I use in LW and I just wanted to check and see
if this is really a good idea or if there's something better I could be
doing?
(defconstant +project-path+
(eval-when (:compile-toplevel :load-toplevel)
(or *load-pathname* *compile-file-pathname*)))
(defsystem project (:default-pathname +project-path+) ...)
This works for my purposes just fine, but I'm not quite sure if - for
example - it won't work for delivery or if there's other ways to do this
better? Should I just be setting the current directory instead of
setting the :default-pathname? Something else?
Jeff M.
_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html