Codebase list cl-portable-aserve / debian/20150826.git39b1324+dfsg-1 logical-hostnames.lisp
debian/20150826.git39b1324+dfsg-1

Tree @debian/20150826.git39b1324+dfsg-1 (Download .tar.gz)

logical-hostnames.lisp @debian/20150826.git39b1324+dfsg-1raw · history · blame

;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Package: CL-USER; -*-

(in-package "CL-USER")

(setf (logical-pathname-translations "ACL-COMPAT")
      `((#-mcl "*.*.*" #+mcl "**;*.*.*" ;mcl gives recording source-file error when redefining anything loaded with this
         ;; e.g., "/home/jsc/lisp/src/aserve/acl-compat-lw/" 
         ,(merge-pathnames 
           (make-pathname :host (pathname-host *load-truename*)
                          :directory '(:relative "acl-compat" #+mcl :wild-inferiors)
                          :name    :wild
                          :type    :wild
                          :version :wild
;                          :case :common
)
           *load-truename*))))

#+lispworks
(setf (logical-pathname-translations "CL-SSL")
      `(("*.*.*" 
         ;; e.g., "/home/jsc/lisp/src/aserve/acl-compat-lw/cl-ssl/" 
         ,(merge-pathnames 
           (make-pathname :host (pathname-host *load-truename*)
                          :directory '(:relative "acl-compat-lw" "cl-ssl")
                          :name    :wild
                          :type    :wild
                          :version :wild
;                          :case :common
)
           *load-truename*))))


(setf (logical-pathname-translations "ASERVE")
      `(("**;*.lisp.*" ;,(logical-pathname "**;*.cl.*")
	 ,(merge-pathnames 
	   (make-pathname :host (pathname-host *load-truename*)
                         :directory '(:relative "aserve" 
                                                 :wild-inferiors)
                         :name :wild
                         :type "cl"
                         :version :wild)
	   *load-truename*
         ))
        ("**;*.*.*" 
         ;; e.g., "/home/jsc/lisp/src/aserve/aserve-lw/**/"
         ,(merge-pathnames 
           (make-pathname :host (pathname-host *load-truename*)
                          :directory '(:relative "aserve" 
                                                 :wild-inferiors)
                          :name    :wild
                          :type    :wild
                          :version :wild
                          ;:case :common
                          )
           *load-truename*))))